Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package apache2 for openSUSE:Factory checked in at 2022-09-13 15:07:54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/apache2 (Old) and /work/SRC/openSUSE:Factory/.apache2.new.2083 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "apache2" Tue Sep 13 15:07:54 2022 rev:196 rq:1002993 version:2.4.54 Changes: -------- --- /work/SRC/openSUSE:Factory/apache2/apache2.changes 2022-06-30 13:17:58.653516072 +0200 +++ /work/SRC/openSUSE:Factory/.apache2.new.2083/apache2.changes 2022-09-13 15:07:59.576406759 +0200 @@ -1,0 +2,6 @@ +Thu Sep 1 06:31:31 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: ------------------ ++++++ apache2.spec ++++++ --- /var/tmp/diff_new_pack.3PQzLn/_old 2022-09-13 15:08:00.804410216 +0200 +++ /var/tmp/diff_new_pack.3PQzLn/_new 2022-09-13 15:08:00.808410227 +0200 @@ -955,6 +955,12 @@ %if "%{flavor}" == "" %pre %service_add_pre apache2.service apache2.target +%if 0%{?suse_version} > 1500 +# Prepare for migration to /usr/etc; save any old .rpmsave +for i in logrotate.d/apache2 ; do + test -f %{_sysconfdir}/${i}.rpmsave && mv -v %{_sysconfdir}/${i}.rpmsave %{_sysconfdir}/${i}.rpmsave.old ||: +done +%endif exit 0 %post @@ -975,6 +981,12 @@ %posttrans %apache_restart_if_needed +%if 0%{?suse_version} > 1500 +# Migration to /usr/etc, restore just created .rpmsave +for i in logrotate.d/apache2 ; do + test -f %{_sysconfdir}/${i}.rpmsave && mv -v %{_sysconfdir}/${i}.rpmsave %{_sysconfdir}/${i} ||: +done +%endif %verifyscript %verify_permissions -e %{_sbindir}/suexec