Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package syslogd for openSUSE:Factory checked 
in at 2022-09-13 15:07:50
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/syslogd (Old)
 and      /work/SRC/openSUSE:Factory/.syslogd.new.2083 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "syslogd"

Tue Sep 13 15:07:50 2022 rev:100 rq:1002963 version:unknown

Changes:
--------
--- /work/SRC/openSUSE:Factory/syslogd/syslogd.changes  2022-06-25 
10:24:01.078652831 +0200
+++ /work/SRC/openSUSE:Factory/.syslogd.new.2083/syslogd.changes        
2022-09-13 15:07:54.892393571 +0200
@@ -1,0 +2,6 @@
+Wed Aug 31 12:40:57 UTC 2022 - Stefan Schubert <sch...@suse.com>
+
+- Migration to /usr/etc: Saving user changed configuration files
+  in /etc and restoring them while an RPM update.
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ syslogd.spec ++++++
--- /var/tmp/diff_new_pack.AfGBuP/_old  2022-09-13 15:07:55.680395789 +0200
+++ /var/tmp/diff_new_pack.AfGBuP/_new  2022-09-13 15:07:55.688395813 +0200
@@ -340,6 +340,20 @@
 
 %pre -n syslog-service
 %service_add_pre klog.service
+%if 0%{?suse_version} > 1500
+# Prepare for migration to /usr/etc; save any old .rpmsave
+for i in logrotate.d/syslog ; do
+   test -f %{_sysconfdir}/${i}.rpmsave && mv -v %{_sysconfdir}/${i}.rpmsave 
%{_sysconfdir}/${i}.rpmsave.old ||:
+done
+%endif
+
+%if 0%{?suse_version} > 1500
+%posttrans  -n syslog-service
+# Migration to /usr/etc, restore just created .rpmsave
+for i in logrotate.d/syslog ; do
+   test -f %{_sysconfdir}/${i}.rpmsave && mv -v %{_sysconfdir}/${i}.rpmsave 
%{_sysconfdir}/${i} ||:
+done
+%endif
 
 %postun -n syslog-service
 %service_del_postun klog.service

Reply via email to