Packages that provide extensions should Requires: an exact version

Поиск
Список
Период
Сортировка
От Craig Ringer
Тема Packages that provide extensions should Requires: an exact version
Дата
Msg-id 53E9CFA3.1000301@2ndquadrant.com
обсуждение исходный текст
Ответы Re: Packages that provide extensions should Requires: an exact version  (Craig Ringer <craig@2ndquadrant.com>)
Список pgsql-pkg-yum
Hi

Currently it looks like packages that build extensions have:

    Requires: postgresql94-server

e.g.

# repoquery -i -R plr93-0:8.3.0.15-1.f20.x86_64 | grep server
postgresql93-server


but this means they can be installed against any PostgreSQL server,
whether or not it's compatible.

Extensions should have a Requires: definition for the exact server
version they're compiled against.

As that might be annoying to maintain, I'm wondering if we can use RPM's
auto-buildrequires stuff to grab the server version, have the server
package Provides: it, and then auto-add appropriate Requires:  like RPM
does with libc:


Requires: libc.so.6(GLIBC_2.14)(64bit)

or Perl:

perl(:MODULE_COMPAT_5.18.2)


That way it won't be possible to install extensions against an
incompatible server binary.

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


В списке pgsql-pkg-yum по дате отправления:

Предыдущее
От: Pete Deffendol
Дата:
Сообщение: Re: PostGIS RPM for CentOS 6 install reps failed
Следующее
От: martin.euser@nl.abnamro.com
Дата:
Сообщение: postgresql version 9.1.14 for RHEL 5 64 bits