Hello community,

here is the log from the commit of package postgresql for openSUSE:Factory 
checked in at 2020-01-28 10:45:39
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/postgresql (Old)
 and      /work/SRC/openSUSE:Factory/.postgresql.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "postgresql"

Tue Jan 28 10:45:39 2020 rev:56 rq:766656 version:12

Changes:
--------
--- /work/SRC/openSUSE:Factory/postgresql/postgresql.changes    2019-10-14 
12:31:15.184307721 +0200
+++ /work/SRC/openSUSE:Factory/.postgresql.new.26092/postgresql.changes 
2020-01-28 10:45:58.852452857 +0100
@@ -1,0 +2,16 @@
+Tue Dec 17 10:27:02 UTC 2019 - Reinhard Max <[email protected]>
+
+- Fix a mistake in the creation of /var/lib/pgsql/.bash_profile
+  with the tmpfiles mechanism (bsc#1159335).
+
+-------------------------------------------------------------------
+Thu Nov 14 12:36:59 UTC 2019 - Reinhard Max <[email protected]>
+
+- Sync ownership of /run/postgresql in the file list with tmpfiles.
+
+-------------------------------------------------------------------
+Tue Oct 22 13:08:50 UTC 2019 - Marcus Rueckert <[email protected]>
+
+- bump to 12
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ postgresql.spec ++++++
--- /var/tmp/diff_new_pack.ILhdmu/_old  2020-01-28 10:45:59.968453543 +0100
+++ /var/tmp/diff_new_pack.ILhdmu/_new  2020-01-28 10:45:59.988453554 +0100
@@ -32,7 +32,7 @@
 Summary:        Basic Clients and Utilities for PostgreSQL
 License:        PostgreSQL
 Group:          Productivity/Databases/Tools
-Version:        11
+Version:        12
 Release:        0
 Url:            https://www.postgresql.org/
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
@@ -268,7 +268,6 @@
 
 %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
@@ -326,6 +325,14 @@
 %post server
 %fillup_only -n postgresql
 %if %{with systemd}
+PROFILE="/var/lib/pgsql/.bash_profile"
+if test -r "$PROFILE" && test "`cat $PROFILE`" = 
"/usr/share/postgresql/bash_profile"
+then
+       # Correct a mistake in /usr/lib/tmpfiles.d/postgresql.conf
+       # that created /var/lib/pgsql/.bash_profile with invalid
+       # content (bsc#1159335).
+       rm "$PROFILE"
+fi
 %tmpfiles_create %_tmpfilesdir/postgresql.conf
 %service_add_post postgresql.service
 %endif
@@ -393,10 +400,10 @@
 %_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

++++++ postgresql-tmpfiles.conf ++++++
--- /var/tmp/diff_new_pack.ILhdmu/_old  2020-01-28 10:46:00.268453727 +0100
+++ /var/tmp/diff_new_pack.ILhdmu/_new  2020-01-28 10:46:00.272453729 +0100
@@ -1,3 +1,3 @@
 # For the PostgreSQL server's unix domain socket
 d /run/postgresql 1775 postgres postgres - -
-f /var/lib/pgsql/.bash_profile 0640 postgres postgres - 
/usr/share/postgresql/bash_profile
+C /var/lib/pgsql/.bash_profile 0640 postgres postgres - 
/usr/share/postgresql/bash_profile


Reply via email to