[mod_qos] fix _httpd_mmn expansion in absence of httpd-devel

jorton jorton at fedoraproject.org
Thu Jan 23 10:55:59 UTC 2014


commit be73f4b5a1fb9f1aba2d967af132853a33725aa7
Author: Joe Orton <jorton at redhat.com>
Date:   Thu Jan 23 10:56:16 2014 +0000

    fix _httpd_mmn expansion in absence of httpd-devel

 mod_qos.spec |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/mod_qos.spec b/mod_qos.spec
index b0eaf34..1de7f44 100644
--- a/mod_qos.spec
+++ b/mod_qos.spec
@@ -1,9 +1,9 @@
-%{!?_httpd_mmn: %{expand: %%global _httpd_mmn %%(cat %{_includedir}/httpd/.mmn || echo missing-httpd-devel)}}
+%{!?_httpd_mmn: %{expand: %%global _httpd_mmn %%(cat %{_includedir}/httpd/.mmn || echo 0-0)}}
 %{!?_httpd_apxs: %{expand: %%global _httpd_apxs %%{_sbindir}/apxs}}
 
 Name:           mod_qos
 Version:        10.24
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Quality of service module for Apache
 
 Group:          System Environment/Daemons
@@ -57,6 +57,9 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Thu Jan 23 2014 Joe Orton <jorton at redhat.com> - 10.24-2
+- fix _httpd_mmn expansion in absence of httpd-devel
+
 * Sat Nov  2 2013 Christof Damian <christof at damian.net> - 10.24-1
 - upstream 10.24
 


More information about the scm-commits mailing list