Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package transactional-update for
openSUSE:Factory checked in at 2022-09-06 13:00:35
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/transactional-update (Old)
and /work/SRC/openSUSE:Factory/.transactional-update.new.2083 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "transactional-update"
Tue Sep 6 13:00:35 2022 rev:91 rq:1001287 version:4.0.1
Changes:
--------
---
/work/SRC/openSUSE:Factory/transactional-update/transactional-update.changes
2022-08-23 14:26:19.459183546 +0200
+++
/work/SRC/openSUSE:Factory/.transactional-update.new.2083/transactional-update.changes
2022-09-06 13:00:36.938903736 +0200
@@ -1,0 +2,7 @@
+Thu Sep 1 14:03:58 UTC 2022 - Stefan Schubert <[email protected]>
+
+- Migration of logrotate configuration to /usr/etc: Saving user
+ changed configuration files in /etc and restoring them while
+ an RPM update.
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ transactional-update.spec ++++++
--- /var/tmp/diff_new_pack.UJvtQh/_old 2022-09-06 13:00:37.422904958 +0200
+++ /var/tmp/diff_new_pack.UJvtQh/_new 2022-09-06 13:00:37.426904969 +0200
@@ -191,11 +191,25 @@
%pre
%systemd_pre %{name}.service %{name}.timer
%systemd_pre %{name}-cleanup.service %{name}-cleanup.timer
+%if 0%{?suse_version} > 1500
+# Prepare for migration of logrotate configuration to /usr/etc; save any old
.rpmsave
+for i in logrotate.d/transactional-update ; do
+ test -f %{_sysconfdir}/${i}.rpmsave && mv -v %{_sysconfdir}/${i}.rpmsave
%{_sysconfdir}/${i}.rpmsave.old ||:
+done
+%endif
%post
%systemd_post %{name}.service %{name}.timer
%systemd_post %{name}-cleanup.service %{name}-cleanup.timer
+%if 0%{?suse_version} > 1500
+%posttrans
+# Migration of logrotate configuration to /usr/etc, restore just created
.rpmsave
+for i in logrotate.d/transactional-update ; do
+ test -f %{_sysconfdir}/${i}.rpmsave && mv -v %{_sysconfdir}/${i}.rpmsave
%{_sysconfdir}/${i} ||:
+done
+%endif
+
%preun
%systemd_preun %{name}.service %{name}.timer
%systemd_preun %{name}-cleanup.service %{name}-cleanup.timer