X-Git-Url: https://git.tld-linux.org/?a=blobdiff_plain;f=apache.spec;h=c7e0457f14403a3a116d68d18dee091e9711c2a1;hb=870cb2073c07ba938bce521c29a4f45273108bef;hp=23e530bf2fe22128cf34e1a8d5dd23b522fa0278;hpb=bb3133a50ad0031c45de36d36e673bdfe87aab7c;p=packages%2Fapache.git diff --git a/apache.spec b/apache.spec index 23e530b..c7e0457 100644 --- a/apache.spec +++ b/apache.spec @@ -2481,13 +2481,15 @@ Please report bugs to . EOF -%triggerpostun base -- %{name} < 2.4.0 +%pretrans base -- %{name} < 2.4.0 if [ -f /etc/sysconfig/httpd ]; then MPM=$(grep HTTPD_MPM /etc/sysconfig/httpd |sed 's,HTTPD_MPM=,,;s,",,g') echo "LoadModule mpm_${MPM}_module modules/mod_mpm_${MPM}.so" > /etc/httpd/conf.d/10_mpm.conf.rpmnew cat /etc/httpd/conf.d/10_mpm.conf >> /etc/httpd/conf.d/10_mpm.conf.rpmnew mv /etc/httpd/conf.d/10_mpm.conf.rpmnew /etc/httpd/conf.d/10_mpm.conf fi + +%triggerpostun base -- %{name} < 2.4.0 %banner -e %{name} << EOF WARNING!!! Since apache-2.4 mod_authn_alias has been obsoleted.