From 6c94b60b21f243c15f35b048a0dd65b53fe8a52c42861351f6d95c14fabefabe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cristian=20Rodr=C3=ADguez?= Date: Tue, 18 Jun 2013 06:46:24 +0000 Subject: [PATCH] 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 --- apache2.changes | 6 ++++++ apache2.spec | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/apache2.changes b/apache2.changes index c5833e7..8d36e48 100644 --- a/apache2.changes +++ b/apache2.changes @@ -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 diff --git a/apache2.spec b/apache2.spec index 93046c2..14ea4d3 100644 --- a/apache2.spec +++ b/apache2.spec @@ -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}