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-23 23:40:56
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
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"
Mon Oct 23 23:40:56 2023 rev:35 rq:1119593 version:4.9.4
Changes:
--------
--- /work/SRC/openSUSE:Factory/apache2-mod_wsgi/apache2-mod_wsgi.changes
2023-10-20 23:21:22.568609844 +0200
+++
/work/SRC/openSUSE:Factory/.apache2-mod_wsgi.new.1945/apache2-mod_wsgi.changes
2023-10-23 23:41:04.827780717 +0200
@@ -1,0 +2,7 @@
+Fri Oct 20 13:14:08 UTC 2023 - Dominique Leuenberger <[email protected]>
+
+- Do not generate empty postun/posttrans scriptlets in case of
+ non-openSUSE: guard the entire script by the condition, not only
+ the entire content of the script.
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ apache2-mod_wsgi.spec ++++++
--- /var/tmp/diff_new_pack.TuefGx/_old 2023-10-23 23:41:06.147828637 +0200
+++ /var/tmp/diff_new_pack.TuefGx/_new 2023-10-23 23:41:06.151828782 +0200
@@ -81,8 +81,8 @@
%check
%apache_rex_check -m ./src/server/.libs mod_wsgi-basic
-%postun
%if 0%{?suse_version}
+%postun
if [ "$1" = "0" ]; then
if a2enmod -q wsgi; then
%{_sbindir}/a2enmod -d wsgi
@@ -90,8 +90,8 @@
fi
%endif
-%posttrans
%if 0%{?suse_version}
+%posttrans
if ! %{_sbindir}/a2enmod -q wsgi; then
%{_sbindir}/a2enmod wsgi
fi