Bug 1652286

Summary: Build libpq for epel7
Product: [Fedora] Fedora Reporter: Spike <SpikeFedora>
Component: libpqAssignee: Pavel Raiskup <praiskup>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: praiskup
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-11-22 08:53:40 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Spike 2018-11-21 19:30:04 UTC
Hi,

Could you submit a build of libpq to epel7? The latest spec file in the master branch seems to work just fine.
It's needed eventually for building asterisk 16.

Thanks!

Comment 1 Pavel Raiskup 2018-11-22 08:53:40 UTC
Thanks for the report, but there's libpq.so in RHEL 7 already - it is packaged
in postgresql-libs.rpm.  The packaging layout can not be changed in RHEL 7,
but there's bug 1625651, which might solve your issues one day.

That said, what you probably want is 'BuildRequires: postgresql-devel' for
EPEL7, and your package will automatically 'Requires: libpq.so.5()(64bit)'.

Comment 2 Spike 2018-11-22 09:27:41 UTC
Thanks, I've missed that. Using 'BuildRequires: postgresql-devel' works for me.