Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rpmbuild issue and question #144

Open
pjwelsh opened this issue Mar 22, 2023 · 0 comments
Open

rpmbuild issue and question #144

pjwelsh opened this issue Mar 22, 2023 · 0 comments

Comments

@pjwelsh
Copy link

pjwelsh commented Mar 22, 2023

At least the SPECS/pg_bulkload-pg15.spec file needs the addition of a "BuildRequires" that has the addition of "ccache":
BuildRequires: ccache, postgresql15-devel, postgresql15

How are you using "rpmbuild" to build the different rpm version of pg_bulkload?
Normally I would just use "rpmbuild -tb some.tar.gz", but since there are several of the specs in the pg_bulkload-3.1.20.tar.gz, rpmbuild is unhappy:
rpmbuild -tb pg_bulkload-3.1.20.tar.gz
error: Found more than one spec file in pg_bulkload-3.1.20.tar.gz
Basically, what is the magic foo params/exports you are using to build the rpms? I've not been able to google myself to a solution that does not involve either modifying the tar file or extracting it.

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant