[mod_bw] Require httpd-mm (#803067)

Jakub Hrozek jhrozek at fedoraproject.org
Wed Mar 14 09:35:42 UTC 2012


commit abe4e7c4e914201b4764963b46509c8a8235fb61
Author: Jakub Hrozek <jhrozek at redhat.com>
Date:   Wed Mar 14 10:34:58 2012 +0100

    Require httpd-mm (#803067)

 mod_bw.spec |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/mod_bw.spec b/mod_bw.spec
index 7586194..e629807 100644
--- a/mod_bw.spec
+++ b/mod_bw.spec
@@ -1,6 +1,8 @@
+%{!?_httpd_mmn: %{expand: %%global _httpd_mmn %%(cat %{_includedir}/httpd/.mmn || echo missing-httpd-devel)}}
+
 Name:           mod_bw
 Version:        0.8
-Release:        5%{?dist}
+Release:        6%{?dist}
 Summary:        Bandwidth Limiter For Apache
 
 Group:          System Environment/Daemons
@@ -12,6 +14,7 @@ BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:  httpd-devel
 Requires:       httpd
+Requires:       httpd-mmn = %{_httpd_mmn}
 
 %description
 mod_bw is a bandwidth administration module for Apache httpd 2.x
@@ -49,6 +52,9 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Wed Mar 14 2012 Jakub Hrozek <jhrozek at redhat.com> - 0.8-6
+- Require httpd-mmn (#803067)
+
 * Fri Jan 13 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.8-5
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
 


More information about the scm-commits mailing list