From 962e13c349c70c9f6b02cf02360f0eed861bbaf5 Mon Sep 17 00:00:00 2001 From: Marcin Krol Date: Thu, 23 Aug 2018 11:16:33 +0000 Subject: [PATCH] - locales are versioned, keep them in system datadir - fix internal deps --- postgresql.spec | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/postgresql.spec b/postgresql.spec index f1841ac..dc291b8 100644 --- a/postgresql.spec +++ b/postgresql.spec @@ -86,9 +86,9 @@ Requires(pre): /bin/id Requires(pre): /usr/bin/getgid Requires(triggerpostun): /bin/id Requires(triggerpostun): /usr/sbin/usermod -Requires: %{name}-clients >= %{version}-%{release} +Requires: %{name}-clients = %{version}-%{release} Requires: %{name}-dirs = %{version}-%{release} -Requires: postgresql-libs = %{version}-%{release} +Requires: postgresql-libs >= %{version}-%{release} Requires: rc-scripts >= 0.4.3.0 Requires: tzdata Obsoletes: postgresql @@ -187,8 +187,8 @@ Wspólne pliki i katalogi dla PostgreSQL %{pgversion} Summary: PostgreSQL backend development header files Summary(pl.UTF-8): PostgreSQL - pliki nagłówkowe dla backendu Group: Development/Libraries -Requires: postgresql-devel = %{version}-%{release} -Requires: postgresql-libs = %{version}-%{release} +Requires: postgresql-devel >= %{version}-%{release} +Requires: postgresql-libs >= %{version}-%{release} Obsoletes: postgresql-backend-devel %description backend-devel @@ -209,7 +209,7 @@ Summary(uk.UTF-8): Клієнтські програми, необхідні д Group: Applications/Databases Requires: alternatives Requires: %{name}-dirs = %{version}-%{release} -Requires: postgresql-libs = %{version}-%{release} +Requires: postgresql-libs >= %{version}-%{release} Obsoletes: postgresql-clients %description clients @@ -243,8 +243,8 @@ Summary: Embedded SQL in C interface Summary(pl.UTF-8): Interfejs wbudowanego SQL-a w język C Group: Libraries Requires: %{name}-dirs = %{version}-%{release} -Requires: postgresql-libs = %{version}-%{release} -Requires: postgresql-ecpg-libs = %{version}-%{release} +Requires: postgresql-libs >= %{version}-%{release} +Requires: postgresql-ecpg-libs >= %{version}-%{release} Obsoletes: postgresql-ecpg %description ecpg @@ -508,6 +508,7 @@ find src -name \*.l -o -name \*.y | xargs touch --datadir=%{pgsqldatadir} \ --libdir=%{_libdir} \ --docdir=%{pgsqldatadir}/doc \ + --localedir=%{_datadir}/locale \ --disable-rpath \ --enable-depend \ %{?with_systemtap:--enable-dtrace} \ -- 2.46.0