Re: RHEL5 postgresql94-contrib is broken, unsatisfied dependency on uuid-ossp - Mailing list pgsql-pkg-yum

From Craig Ringer
Subject Re: RHEL5 postgresql94-contrib is broken, unsatisfied dependency on uuid-ossp
Date
Msg-id 53FD59DA.2030802@2ndquadrant.com
Whole thread Raw
In response to Re: RHEL5 postgresql94-contrib is broken, unsatisfied dependency on uuid-ossp  (Devrim Gündüz <devrim@gunduz.org>)
Responses Re: RHEL5 postgresql94-contrib is broken, unsatisfied dependency on uuid-ossp
List pgsql-pkg-yum
On 08/26/2014 12:07 AM, Devrim Gündüz wrote:
>> >  There's no explicit RPM-level dependency, just a shared object
>> > dependency. So at least some users will have no idea how to find this
>> > "libossp-uuid.so.15" that we require.
> Right. Let's fix it in the next set of releases.

Sounds good - A Requires: plus some references to EPEL being recommended
for RHEL/CentOS would do the job.

We don't need it for 9.4 though; the conditional uuid support may be
removed entirely and replaced with:


# Over time the package containing this has varied.  If in doubt use:
#   yum whatprovides /usr/lib64/libuuid.so
# to find out.
%if 0%{?rhel} == 5
BuildRequires: e2fsprogs-devel
%else
BuildRequires: libuuid-devel
%endif

and instead of --with-ossp-uuid to configure, use:

    --with-uuid=e2fs


then there's no need for core postgresql94 packages to depend on EPEL at
all anymore.


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


pgsql-pkg-yum by date:

Previous
From: Devrim Gündüz
Date:
Subject: Re: org2org have lost PostgreSQL driver support
Next
From: Craig Ringer
Date:
Subject: Re: proposal: rpm package for plpgsql_check