[mod_log_post] fix _httpd_mmn expansion in absence of httpd-devel
jorton
jorton at fedoraproject.org
Thu Jan 23 10:54:54 UTC 2014
commit 121ef4713542eac005e25f41b9992af342bd1d1e
Author: Joe Orton <jorton at redhat.com>
Date: Thu Jan 23 10:55:13 2014 +0000
fix _httpd_mmn expansion in absence of httpd-devel
mod_log_post.spec | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/mod_log_post.spec b/mod_log_post.spec
index 73081fa..2909000 100644
--- a/mod_log_post.spec
+++ b/mod_log_post.spec
@@ -1,6 +1,6 @@
# /usr/sbin/apxs with httpd < 2.4 and defined as /usr/bin/apxs with httpd >= 2.4
%{!?_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}}
@@ -9,7 +9,7 @@ Summary: Module for the Apache web server to log all HTTP POST messages
Summary(de): Modul für den Apache Webserver zur Protokollierung von HTTP POST
Name: mod_log_post
Version: 0.1.0
-Release: 8%{?dist}
+Release: 9%{?dist}
Group: System Environment/Daemons
License: GPLv2 with exceptions
URL: http://ftp.robert-scheck.de/linux/%{name}/
@@ -69,6 +69,9 @@ rm -rf $RPM_BUILD_ROOT
%config(noreplace) %{_httpd_confdir}/log_post.conf
%changelog
+* Thu Jan 23 2014 Joe Orton <jorton at redhat.com> - 0.1.0-9
+- fix _httpd_mmn expansion in absence of httpd-devel
+
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.1.0-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
More information about the scm-commits
mailing list