Accepting request 179377 from home:elvigia:branches:Apache

- fix apache_mmn spec macro, otherwise all modules down 
  the chain will have broken dependencies

OBS-URL: https://build.opensuse.org/request/show/179377
OBS-URL: https://build.opensuse.org/package/show/Apache/apache2?expand=0&rev=380
This commit is contained in:
Cristian Rodríguez 2013-06-18 06:46:24 +00:00 committed by Git OBS Bridge
parent c386f992ca
commit 6c94b60b21
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Jun 18 06:42:33 UTC 2013 - crrodriguez@opensuse.org
- fix apache_mmn spec macro, otherwise all modules down
the chain will have broken dependencies
-------------------------------------------------------------------
Tue Jun 18 05:53:31 UTC 2013 - crrodriguez@opensuse.org

View File

@ -49,7 +49,7 @@ BuildRequires: expat-devel
%define pname apache2
%define vers 2
%define httpd httpd2
%define apache_mmn %(test -s %{S:0} && { echo -n apache_mmn_; xzcat %{S:0} | awk '/^#define MODULE_MAGIC_NUMBER_MAJOR/ {printf "%d", $3}'; })
%define apache_mmn %(test -s %{S:0} && { echo -n apache_mmn_; bzcat %{S:0} | awk '/^#define MODULE_MAGIC_NUMBER_MAJOR/ {printf "%d", $3}'; })
%define default_mpm prefork
%{!?prefork:%define prefork 1}
%{!?worker:%define worker 1}