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

jorton jorton at fedoraproject.org
Thu Jan 23 10:51:27 UTC 2014


commit c48f0c788957e87c680c9c2ee6d81d06eb05e473
Author: Joe Orton <jorton at redhat.com>
Date:   Thu Jan 23 10:51:45 2014 +0000

    fix _httpd_mmn expansion in absence of httpd-devel

 libapreq2.spec |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/libapreq2.spec b/libapreq2.spec
index 56f685b..fd7159a 100644
--- a/libapreq2.spec
+++ b/libapreq2.spec
@@ -1,12 +1,12 @@
 %{!?_httpd_apxs: %{expand: %%global _httpd_apxs %%{_sbindir}/apxs}}
-%{!?_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_confdir:    %{expand: %%global _httpd_confdir    %%{_sysconfdir}/httpd/conf.d}}
 # /etc/httpd/conf.d with httpd < 2.4 and defined as /etc/httpd/conf.modules.d with httpd >= 2.4
 %{!?_httpd_modconfdir: %{expand: %%global _httpd_modconfdir %%{_sysconfdir}/httpd/conf.d}}
 
 Name:           libapreq2
 Version:        2.13
-Release:        14%{?dist}
+Release:        15%{?dist}
 Summary:        Apache HTTP request library
 
 Group:          System Environment/Libraries
@@ -169,6 +169,9 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Thu Jan 23 2014 Joe Orton <jorton at redhat.com> - 2.13-15
+- fix _httpd_mmn expansion in absence of httpd-devel
+
 * Thu Aug  8 2013 Bojan Smojver <bojan at rexursive.com> - 2.13-14
 - switch to unversioned documentation directory
 


More information about the scm-commits mailing list