From: | "(dot)(dot): Mark Sloan :(dot)(dot)" <mark(dot)a(dot)sloan(at)gmail(dot)com> |
---|---|
To: | pgsql-pkg-yum(at)postgresql(dot)org |
Subject: | Question about provides lines in spec for postgresqlXX-* |
Date: | 2014-06-02 23:44:46 |
Message-ID: | CANahebMTtkCTKaQEhbQKWyRzwf76fGFO5-U2VCZ7AxrcRcRV0w@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-pkg-yum |
Hi Jeff / Devrim / (whoever is reading this)
Once again thanks for all the great work with the yum repo!
question.
In the spec files for postgresql-X.X, I see:
Provides: postgresql
Provides: postgresql-server
Provides: postgresql-libs
...etc
is there a reason not to use:
Provides: postgresql = %{version}-%{release}
Provides: libpq.so = %{version}-%{release}
Provides: postgresql-libs = %{version}-%{release}
Provides: postgresql-server = %{version}-%{release}
...etc
I ask because using
Provides: postgresql
Provides: postgresql-server
Provides: postgresql-libs
does a virtual capability with no associated version, and that will satisfy
*any* version. (odd quirk of RPM; IMO )
so if someone writes a requires of
postgresql >= 9.2 and PGDG rpm of 9.0 or 9.1 will satisfy the dependency
for RPM because of the virutal dep.
I don't think people should have to write their requires lines to
postgresql92-server because then 9.3 won't satisfy that requires but it
might be acceptable for that package.
(also a friendly nudge to update ip4r builds for a bug fix provided in
yum.postgresql.org)
thanks for looking at this,
..: Mark
From | Date | Subject | |
---|---|---|---|
Next Message | Benoit BARTHELEMY | 2014-06-03 15:52:27 | Dependencies error on RHEL 6.4 |
Previous Message | ..: Mark Sloan :.. | 2014-05-22 17:13:34 | Fwd: new point release of ip4r (bug fix) |