# 2.4 TODO
#
-# mod_authn/z_default changed into mod_authn/z_core - trigger existing configs?
+# add new access control syntax to configs by default (mod_access_compat provides old syntax)
# Conditional build:
Summary(tr.UTF-8): Lider WWW tarayıcı
Name: apache
Version: 2.4.1
-Release: 0.1
+Release: 0.4
License: Apache v2.0
Group: Networking/Daemons/HTTP
Source0: http://www.apache.org/dist/httpd/httpd-%{version}.tar.gz
URL: http://httpd.apache.org/docs/2.4/mod/mod_authn_core.html
Requires: %{name}-base = %{version}-%{release}
Provides: apache(mod_authn_core) = %{version}-%{release}
-Provides: apache(mod_authn_default) = %{version}-%{release}
Obsoletes: apache-mod_authn_default < 2.4
%description mod_authn_core
URL: http://httpd.apache.org/docs/2.4/mod/mod_authz_core.html
Requires: %{name}-base = %{version}-%{release}
Provides: apache(mod_authz_core) = %{version}-%{release}
-Provides: apache(mod_authz_default) = %{version}-%{release}
Obsoletes: apache-mod_authz_default < 2.4
%description mod_authz_core
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
+ sed -i -e 's,HTTPD_MPM.*,,g' /etc/sysconfig/httpd
fi
fi
EOF
%triggerpostun base -- %{name} < 2.4.0
-%banner %{name}-2.4.1 << EOF
+%banner -e %{name} << EOF
WARNING!!!
Since apache-2.4 mod_authn_alias has been obsoleted.
If you use access control (Deny,Allow) install mod_access_compat by doing: