postgresql94-devel should Requires: libpam-devel etc - Mailing list pgsql-pkg-yum

From Craig Ringer
Subject postgresql94-devel should Requires: libpam-devel etc
Date
Msg-id 547C0032.7040309@2ndquadrant.com
Whole thread Raw
Responses Re: postgresql94-devel should Requires: libpam-devel etc
List pgsql-pkg-yum
Hi folks

I've noticed another dependency issue that should probably be fixed for
the 9.4 package release.

The 9.4 spec BuildRequires: readline-devel and various other packages.
These are not depended on as Requires: by postgresql94-devel, but some
of them are assumed to by present by the Pg headers, and others are
referenced by linker options emitted by pg_config .

So postgresql94-devel should Requires these packages that are already
BuildRequires for the package as a whole.

Requires:  readline-devel
Requires:  zlib-devel >= 1.0.4
%if %ssl
Requires:  openssl-devel
%endif
%if %nls
Requires:  gettext >= 0.10.35
%endif
%if %xml
Requires:  libxml2-devel libxslt-devel
%endif
%if %pam
Requires:  pam-devel
%endif


I'm don't think the Kerberos, LDAP or SELinux libs are exposed by
pg_config, so they don't need to be dependencies.

I'll add them in the next rev of my unified package spec.
--
 Craig Ringer                   http://www.2ndQuadrant.com/
 PostgreSQL Development, 24x7 Support, Training & Services


pgsql-pkg-yum by date:

Previous
From: Jeff Frost
Date:
Subject: Re: Missing package or mistake?
Next
From: Téssio Fechine
Date:
Subject: Re: Missing package or mistake?