Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package atftp for openSUSE:Factory checked in at 2022-09-13 15:07:52 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/atftp (Old) and /work/SRC/openSUSE:Factory/.atftp.new.2083 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "atftp" Tue Sep 13 15:07:52 2022 rev:43 rq:1002992 version:0.7.5 Changes: -------- --- /work/SRC/openSUSE:Factory/atftp/atftp.changes 2022-06-30 13:17:57.745515391 +0200 +++ /work/SRC/openSUSE:Factory/.atftp.new.2083/atftp.changes 2022-09-13 15:07:58.252403031 +0200 @@ -1,0 +2,6 @@ +Thu Sep 1 06:13:32 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: ------------------ ++++++ atftp.spec ++++++ --- /var/tmp/diff_new_pack.tnUPmS/_old 2022-09-13 15:07:58.784404528 +0200 +++ /var/tmp/diff_new_pack.tnUPmS/_new 2022-09-13 15:07:58.788404540 +0200 @@ -93,6 +93,12 @@ sed -i -e "s@^\(ATFTPD_DIRECTORY=\"/tftpboot\"\)@#\1@" %{_sysconfdir}/sysconfig/atftpd fi %service_add_pre atftpd.service atftpd.socket +%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 %preun %service_del_preun atftpd.service atftpd.socket @@ -104,6 +110,14 @@ %postun %service_del_postun atftpd.service atftpd.socket +%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 + %files %defattr(-,root,root) %license LICENSE