diff --git a/postgresql.changes b/postgresql.changes index 66668df..d0935ea 100644 --- a/postgresql.changes +++ b/postgresql.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Nov 14 12:36:59 UTC 2019 - Reinhard Max + +- Sync ownership of /run/postgresql in the file list with tmpfiles. + ------------------------------------------------------------------- Tue Oct 22 13:08:50 UTC 2019 - Marcus Rueckert diff --git a/postgresql.spec b/postgresql.spec index 7404ba6..b030f8b 100644 --- a/postgresql.spec +++ b/postgresql.spec @@ -268,7 +268,6 @@ 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 -m755 -d %buildroot%{_fillupdir} install -m644 %{S:1} %buildroot%{_fillupdir}/sysconfig.postgresql @@ -393,10 +392,10 @@ fi %_tmpfilesdir/postgresql.conf %_unitdir/ /usr/share/postgresql/postgresql-script -%ghost %dir %attr(1775,root,root) /run/postgresql +%ghost %dir %attr(1775,postgres,postgres) /run/postgresql %else %config /etc/init.d/postgresql -%dir %attr(1775,root,root) /var/run/postgresql +%dir %attr(1775,postgres,postgres) /var/run/postgresql %endif %files test