Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package redis for openSUSE:Factory checked
in at 2022-10-10 18:44:27
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/redis (Old)
and /work/SRC/openSUSE:Factory/.redis.new.2275 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "redis"
Mon Oct 10 18:44:27 2022 rev:83 rq:1008369 version:7.0.5
Changes:
--------
--- /work/SRC/openSUSE:Factory/redis/redis.changes 2022-09-23
14:15:04.593960702 +0200
+++ /work/SRC/openSUSE:Factory/.redis.new.2275/redis.changes 2022-10-10
18:45:07.386941049 +0200
@@ -32,0 +33,6 @@
+Thu Sep 1 07:15:24 UTC 2022 - Stefan Schubert <schubi@intern>
+
+- Migration to /usr/etc: Saving user changed configuration files
+ in /etc and restoring them while an RPM update.
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ redis.spec ++++++
--- /var/tmp/diff_new_pack.VW3wwB/_old 2022-10-10 18:45:07.950942263 +0200
+++ /var/tmp/diff_new_pack.VW3wwB/_new 2022-10-10 18:45:07.954942272 +0200
@@ -131,6 +131,20 @@
%pre -f %{name}.pre
%service_add_pre %{name}.target %{name}@.service %{name}-sentinel.target
%{name}[email protected]
+%if 0%{?suse_version} > 1500
+# Prepare for migration to /usr/etc; save any old .rpmsave
+for i in logrotate.d/%{name} ; do
+ test -f %{_sysconfdir}/${i}.rpmsave && mv -v %{_sysconfdir}/${i}.rpmsave
%{_sysconfdir}/${i}.rpmsave.old ||:
+done
+%endif
+
+%if 0%{?suse_version} > 1500
+%posttrans
+# Migration to /usr/etc, restore just created .rpmsave
+for i in logrotate.d/%{name} ; do
+ test -f %{_sysconfdir}/${i}.rpmsave && mv -v %{_sysconfdir}/${i}.rpmsave
%{_sysconfdir}/${i} ||:
+done
+%endif
%post
%tmpfiles_create %{_tmpfilesdir}/%{name}.conf