Skip to content

rpmbuild issue and question #144

Description

@pjwelsh

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions