Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package apache2-mod_wsgi for openSUSE:Factory checked in at 2023-10-20 23:18:36 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/apache2-mod_wsgi (Old) and /work/SRC/openSUSE:Factory/.apache2-mod_wsgi.new.1945 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "apache2-mod_wsgi" Fri Oct 20 23:18:36 2023 rev:34 rq:1119173 version:4.9.4 Changes: -------- --- /work/SRC/openSUSE:Factory/apache2-mod_wsgi/apache2-mod_wsgi.changes 2022-11-24 12:23:42.189478241 +0100 +++ /work/SRC/openSUSE:Factory/.apache2-mod_wsgi.new.1945/apache2-mod_wsgi.changes 2023-10-20 23:21:22.568609844 +0200 @@ -1,0 +2,10 @@ +Thu Oct 19 16:32:13 UTC 2023 - Marina Latini <marina.lat...@suse.com> + +- Use %posttrans instead of %post while adding the wsgi keyword. + (bsc#1216411) + * In systems where the former apache2-mod_wsgi-python3 is + installed, the removal of the obsoleted apache2-mod_wsgi-python3 + and the installation of the new apache2-mod_wsgi did not + preserve the keyword wsgi in the APACHE_MODULES variable. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ apache2-mod_wsgi.spec ++++++ --- /var/tmp/diff_new_pack.h5WvzR/_old 2023-10-20 23:21:22.996625460 +0200 +++ /var/tmp/diff_new_pack.h5WvzR/_new 2023-10-20 23:21:23.000625606 +0200 @@ -1,7 +1,7 @@ # # spec file for package apache2-mod_wsgi # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -81,13 +81,6 @@ %check %apache_rex_check -m ./src/server/.libs mod_wsgi-basic -%post -%if 0%{?suse_version} -if ! %{_sbindir}/a2enmod -q wsgi; then - %{_sbindir}/a2enmod wsgi -fi -%endif - %postun %if 0%{?suse_version} if [ "$1" = "0" ]; then @@ -97,6 +90,13 @@ fi %endif +%posttrans +%if 0%{?suse_version} +if ! %{_sbindir}/a2enmod -q wsgi; then + %{_sbindir}/a2enmod wsgi +fi +%endif + %files %defattr(-,root,root) %doc LICENSE README.rst docs/release-notes