diff --git a/postgresql.changes b/postgresql.changes index ac2fc14..a0bd80c 100644 --- a/postgresql.changes +++ b/postgresql.changes @@ -1,3 +1,17 @@ +------------------------------------------------------------------- +Wed Dec 13 18:10:54 UTC 2017 - mrueckert@suse.de + +- add provides for all the pkgconfig() provides you also find in + the postgresqlXY-devel packages. then we automatically will pull + postgresql-devel which in turn will pull our default + postgresqlXY-devel package. (boo#1071971) + +------------------------------------------------------------------- +Wed Dec 6 10:32:06 UTC 2017 - bruno@ioda-net.ch + +- Replace references to /var/adm/fillup-templates with new + %_fillupdir macro (boo#1069468) + ------------------------------------------------------------------- Fri Nov 24 11:24:09 UTC 2017 - mrueckert@suse.de diff --git a/postgresql.spec b/postgresql.spec index 1a059c7..ed6ce24 100644 --- a/postgresql.spec +++ b/postgresql.spec @@ -17,6 +17,11 @@ %define defaultpackage postgresql10 +#Compat macro for new _fillupdir macro introduced in Nov 2017 +%if ! %{defined _fillupdir} + %define _fillupdir /var/adm/fillup-templates +%endif + %if 0%{?suse_version} >= 1300 %bcond_without systemd %else @@ -150,6 +155,10 @@ Documentation for the modules contained in this package can be found in Summary: PostgreSQL development header files and libraries Group: Development/Libraries/C and C++ Provides: postgresql-devel-noarch = %version-%release +Provides: pkgconfig(libecpg) = %{version}-%{release} +Provides: pkgconfig(libecpg_compat) = %{version}-%{release} +Provides: pkgconfig(libpgtypes) = %{version}-%{release} +Provides: pkgconfig(libpq) = %{version}-%{release} Requires: postgresql-devel-implementation Recommends: %defaultpackage-devel @@ -225,8 +234,8 @@ echo "This is a dummy package to provide a dependency on the default PostgreSQL mkdir -p %buildroot/var/lib/pgsql/ install -m640 %{SOURCE5} %buildroot/var/lib/pgsql/.bash_profile -install -m755 -d %buildroot/var/adm/fillup-templates -install -m644 %{S:1} %buildroot/var/adm/fillup-templates/sysconfig.postgresql +install -m755 -d %buildroot%{_fillupdir} +install -m644 %{S:1} %buildroot%{_fillupdir}/sysconfig.postgresql install -m755 -d %buildroot%fwdir install -m644 %{S:2} %buildroot%fwdir/%fwname @@ -330,7 +339,8 @@ fi %dir %fwdir %endif %config %fwdir/%fwname -/var/adm/fillup-templates/sysconfig.postgresql + +%{_fillupdir}/sysconfig.postgresql /usr/sbin/rcpostgresql %if %{with systemd} %_tmpfilesdir/postgresql.conf