Accepting request 653071 from home:darix:branches:server:database:postgresql

- add /var/run/postgresql to the filelist. as %ghost for systemd
  systems and directly for non systemd systems

OBS-URL: https://build.opensuse.org/request/show/653071
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql?expand=0&rev=108
This commit is contained in:
Lars Vogdt 2018-12-04 15:17:50 +00:00 committed by Git OBS Bridge
parent afec6e157e
commit e02a7c1604
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Nov 30 13:14:40 UTC 2018 - Marcus Rueckert <mrueckert@suse.de>
- add /var/run/postgresql to the filelist. as %ghost for systemd
systems and directly for non systemd systems
-------------------------------------------------------------------
Fri Nov 30 11:05:00 UTC 2018 - Marcus Rueckert <mrueckert@suse.de>

View File

@ -268,6 +268,7 @@ echo "This is a dummy package to provide a dependency on the default PostgreSQL
%install
mkdir -p %buildroot/var/lib/pgsql/
mkdir -p %buildroot/var/run/postgresql
install -m640 %{SOURCE5} %buildroot/var/lib/pgsql/.bash_profile
install -m755 -d %buildroot%{_fillupdir}
@ -382,8 +383,10 @@ fi
%_tmpfilesdir/postgresql.conf
%_unitdir/
/usr/share/postgresql/postgresql-script
%ghost %dir %attr(1777,root,root) /var/run/postgresql
%else
%config /etc/init.d/postgresql
%dir %attr(1777,root,root) /var/run/postgresql
%endif
%files test