Accepting request 556945 from server:database:postgresql

OBS-URL: https://build.opensuse.org/request/show/556945
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/postgresql?expand=0&rev=51
This commit is contained in:
Dominique Leuenberger 2017-12-15 13:01:50 +00:00 committed by Git OBS Bridge
commit 9a37b5932f
2 changed files with 27 additions and 3 deletions

View File

@ -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

View File

@ -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