Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package rsync for openSUSE:Factory checked in at 2022-09-13 15:07:55 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/rsync (Old) and /work/SRC/openSUSE:Factory/.rsync.new.2083 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rsync" Tue Sep 13 15:07:55 2022 rev:79 rq:1002994 version:3.2.5 Changes: -------- --- /work/SRC/openSUSE:Factory/rsync/rsync.changes 2022-08-18 16:49:00.477423655 +0200 +++ /work/SRC/openSUSE:Factory/.rsync.new.2083/rsync.changes 2022-09-13 15:08:01.916413347 +0200 @@ -1,0 +2,6 @@ +Thu Sep 1 13:11:01 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: ------------------ ++++++ rsync.spec ++++++ --- /var/tmp/diff_new_pack.pEGGz7/_old 2022-09-13 15:08:02.564415171 +0200 +++ /var/tmp/diff_new_pack.pEGGz7/_new 2022-09-13 15:08:02.568415182 +0200 @@ -134,6 +134,20 @@ %pre %service_add_pre rsyncd.service +%if 0%{?suse_version} > 1500 +# Prepare for migration to /usr/etc; save any old .rpmsave +for i in logrotate.d/rsync ; 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/rsync ; do + test -f %{_sysconfdir}/${i}.rpmsave && mv -v %{_sysconfdir}/${i}.rpmsave %{_sysconfdir}/${i} ||: +done +%endif %preun %service_del_preun rsyncd.service