postgresql94-devel should Requires: libpam-devel etc

From: Craig Ringer <craig(at)2ndquadrant(dot)com>
To: pgsql-pkg-yum <pgsql-pkg-yum(at)postgresql(dot)org>
Subject: postgresql94-devel should Requires: libpam-devel etc
Date: 2014-12-01 05:44:18
Message-ID: 547C0032.7040309@2ndquadrant.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgsql-pkg-yum by date

  From Date Subject
Next Message Devrim Gündüz 2014-12-01 06:30:18 Re: Missing package or mistake?
Previous Message Téssio Fechine 2014-11-29 18:39:45 Re: Missing package or mistake?