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

jorton jorton at fedoraproject.org
Thu Jan 23 10:52:07 UTC 2014


commit 522ed4392bd6b9f803a97d2dad76354af5efc96f
Author: Joe Orton <jorton at redhat.com>
Date:   Thu Jan 23 10:52:26 2014 +0000

    fix _httpd_mmn expansion in absence of httpd-devel

 mod_bw.spec |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/mod_bw.spec b/mod_bw.spec
index 6f830b9..87c9395 100644
--- a/mod_bw.spec
+++ b/mod_bw.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_bw
 Version:        0.8
-Release:        12%{?dist}
+Release:        13%{?dist}
 Summary:        Bandwidth Limiter For Apache
 
 Group:          System Environment/Daemons
@@ -54,6 +54,9 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Thu Jan 23 2014 Joe Orton <jorton at redhat.com> - 0.8-13
+- fix _httpd_mmn expansion in absence of httpd-devel
+
 * Sat Aug 03 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.8-12
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
 


More information about the scm-commits mailing list