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