diff --git a/apache2.changes b/apache2.changes index 7060c81..a7d1c95 100644 --- a/apache2.changes +++ b/apache2.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Tue Mar 10 17:16:21 UTC 2015 - dimstar@opensuse.org + +- Add Requires(post) apache2 to the subpackage -worker, -event and + -prefork: their respective post scriptlets execute + /usr/share/apache2/get_module_list, which is shipped as part of + the main package. This script has the side-effect to call + find_mpm, which in turn creates the corresponding /usr/sbin/httpd2 + symlink. + ------------------------------------------------------------------- Thu Feb 26 08:17:42 UTC 2015 - jsegitz@novell.com diff --git a/apache2.spec b/apache2.spec index 43cd1f9..ce83508 100644 --- a/apache2.spec +++ b/apache2.spec @@ -188,6 +188,8 @@ Summary: Apache 2 worker MPM (Multi-Processing Module) Group: Productivity/Networking/Web/Servers Requires: %{name} = %{version} Provides: %{name}-MPM +# the post scriptlet executes /usr/share/apache2/get_module_list +Requires(post): %{name} = %{version} %endif %if %prefork @@ -197,6 +199,8 @@ Group: Productivity/Networking/Web/Servers Requires: %{name} = %{version} Provides: %{name}-MPM Provides: apache:%{_sbindir}/httpd +# the post scriptlet executes /usr/share/apache2/get_module_list +Requires(post): %{name} = %{version} %endif %if %event @@ -205,6 +209,8 @@ Summary: Apache 2 event MPM (Multi-Processing Module) Group: Productivity/Networking/Web/Servers Requires: %{name} = %{version} Provides: %{name}-MPM +# the post scriptlet executes /usr/share/apache2/get_module_list +Requires(post): %{name} = %{version} %endif %if %worker