Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package fetchmail for openSUSE:Factory checked in at 2022-09-12 19:09:02 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/fetchmail (Old) and /work/SRC/openSUSE:Factory/.fetchmail.new.2083 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "fetchmail" Mon Sep 12 19:09:02 2022 rev:105 rq:1002991 version:6.4.32 Changes: -------- --- /work/SRC/openSUSE:Factory/fetchmail/fetchmail.changes 2022-08-01 21:34:09.458303471 +0200 +++ /work/SRC/openSUSE:Factory/.fetchmail.new.2083/fetchmail.changes 2022-09-12 19:09:03.722673577 +0200 @@ -1,0 +2,6 @@ +Wed Aug 31 15:47:06 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: ------------------ ++++++ fetchmail.spec ++++++ --- /var/tmp/diff_new_pack.lYgT2s/_old 2022-09-12 19:09:04.402675489 +0200 +++ /var/tmp/diff_new_pack.lYgT2s/_new 2022-09-12 19:09:04.406675500 +0200 @@ -152,12 +152,26 @@ %pre -f fetchmail.pre %service_add_pre %{name}.service +%if 0%{?suse_version} > 1500 +# Prepare for migration to /usr/etc; save any old .rpmsave +for i in logrotate.d/fetchmail ; do + test -f %{_sysconfdir}/${i}.rpmsave && mv -v %{_sysconfdir}/${i}.rpmsave %{_sysconfdir}/${i}.rpmsave.old ||: +done +%endif %post %fillup_only %tmpfiles_create %{name}.conf %service_add_post %{name}.service +%if 0%{?suse_version} > 1500 +%posttrans +# Migration to /usr/etc, restore just created .rpmsave +for i in logrotate.d/fetchmail ; do + test -f %{_sysconfdir}/${i}.rpmsave && mv -v %{_sysconfdir}/${i}.rpmsave %{_sysconfdir}/${i} ||: +done +%endif + %preun %service_del_preun %{name}.service