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

jorton jorton at fedoraproject.org
Thu Jan 23 10:53:08 UTC 2014


commit 39ad1ae2cfe4b24b79032d5cc8f619a39bf7597b
Author: Joe Orton <jorton at redhat.com>
Date:   Thu Jan 23 10:53:28 2014 +0000

    fix _httpd_mmn expansion in absence of httpd-devel

 mod_fcgid.spec |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/mod_fcgid.spec b/mod_fcgid.spec
index 30a4ac8..bccf1f7 100644
--- a/mod_fcgid.spec
+++ b/mod_fcgid.spec
@@ -18,7 +18,7 @@
 %{!?_httpd_apxs: %global _httpd_apxs %{_sbindir}/apxs}
 
 # Module Magic Number
-%{!?_httpd_mmn: %global _httpd_mmn %(cat %{_includedir}/httpd/.mmn 2>/dev/null || echo missing-httpd-devel)}
+%{!?_httpd_mmn: %global _httpd_mmn %(cat %{_includedir}/httpd/.mmn 2>/dev/null || echo 0-0)}
 
 # Configuration directory
 %{!?_httpd_confdir: %global _httpd_confdir %{_sysconfdir}/httpd/conf.d}
@@ -34,7 +34,7 @@
 
 Name:		mod_fcgid
 Version:	2.3.9
-Release:	1%{?dist}
+Release:	2%{?dist}
 Summary:	FastCGI interface module for Apache 2
 Group:		System Environment/Daemons
 License:	ASL 2.0
@@ -221,6 +221,9 @@ exit 0
 %endif
 
 %changelog
+* Thu Jan 23 2014 Joe Orton <jorton at redhat.com> - 2.3.9-2
+- fix _httpd_mmn expansion in absence of httpd-devel
+
 * Tue Oct  8 2013 Paul Howarth <paul at city-fan.org> 2.3.9-1
 - Update to 2.3.9
   - SECURITY: Fix possible heap buffer overwrite (CVE-2013-4365)


More information about the scm-commits mailing list