[mod_pubcookie/el6] httpd-mmn requires added (#803073)

Gabriel L. Somlo somlo at fedoraproject.org
Mon Mar 19 18:23:10 UTC 2012


commit f9a0be8ca8fe153e3e234eb26ac5c4b757b7f7b9
Author: Gabriel L. Somlo <somlo at hedwig.ini.cmu.edu>
Date:   Mon Mar 19 14:23:08 2012 -0400

    httpd-mmn requires added (#803073)

 mod_pubcookie.spec |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/mod_pubcookie.spec b/mod_pubcookie.spec
index bc9d837..e873779 100644
--- a/mod_pubcookie.spec
+++ b/mod_pubcookie.spec
@@ -1,6 +1,8 @@
+%{!?_httpd_mmn: %{expand: %%global _httpd_mmn %%(cat %{_includedir}/httpd/.mmn || echo missing-httpd-devel)}}
+
 Name: mod_pubcookie
 Version: 3.3.4a
-Release: 3%{?dist}
+Release: 3%{?dist}.1
 Summary: A solution for single sign-on authentication to websites
 License: ASL 2.0
 Group: System Environment/Daemons
@@ -16,6 +18,7 @@ Patch0: pubcookie-3.3.4a-installdir.patch
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires: httpd-devel openssl-devel openldap-devel krb5-devel
 Requires: mod_ssl
+Requires: httpd-mmn = %{_httpd_mmn}
 
 %description
 A standalone login server and modules for common web server platforms like
@@ -86,6 +89,9 @@ This package contains the login server portion of pubcookie.
 %{_localstatedir}/lib/pubcookie/starter.key
 
 %changelog
+* Mon Mar 19 2012 Gabriel Somlo <somlo at cmu.edu> 3.3.4a-3.el6.1
+- httpd-mmn requires added (#803073)
+
 * Tue Oct 05 2010 Gabriel Somlo <somlo at cmu.edu> 3.3.4a-3
 - fixed ia_64 install path
 


More information about the scm-commits mailing list