Remove libpq.so Provides: from postgresql94-libs

From: Craig Ringer <craig(at)2ndquadrant(dot)com>
To: pgsql-pkg-yum <pgsql-pkg-yum(at)postgresql(dot)org>
Subject: Remove libpq.so Provides: from postgresql94-libs
Date: 2014-08-25 06:28:50
Message-ID: 53FAD7A2.1050405@2ndquadrant.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-pkg-yum

The 9.4 packages should really have some dependency changes before release:

* The "postgresql-" Provides, used for compatibility with RHEL/Fedora's
PostgreSQL packages, should have %{?_isa} qualified versions too, e.g.

# For compatibility with Fedora/CentOS RPMs:
Provides: postgresql-libs = %{version}-%{release}
Provides: postgresql-libs%{?_isa} = %{version}-%{release}

as RPM generates both these forms for the package %{name}, so our
provides: should match them.

* Remove the

Provides: libpq.so

from postgresql94-libs. According to

repoquery --whatrequires libpq.so

it's not used by anyone, and it's redundant with RPM's automatically
detected library dependencies, e.g.

# repoquery --provides postgresql94-libs
libpq.so = 9.4beta2-12ndquadrant.fc20
libpq.so.5()(64bit)

* Fix the aberrant dependency on Java 1.8, which seems to be a
build-time error not a specfile issue

* Build against libuuid, not ossp-uuid, and drop the EPEL OSSP dep

* Possibly also build the -docs package as a noarch sub rpm, installing
docs into /usr/share/doc, but that's a bigger change.

I've made all these changes in the unified spec. I don't know if you'll
be ready to adopt that for 9.4 at this stage though, so I'm making sure
I note them here for application to the individual
distro-version-specific specfiles.

--
Craig Ringer http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services

Browse pgsql-pkg-yum by date

  From Date Subject
Next Message Craig Ringer 2014-08-25 06:44:56 Re: org2org have lost PostgreSQL driver support
Previous Message im4LF 2014-08-23 10:11:57 org2org have lost PostgreSQL driver support