From 8fe46858707c07afdcd5642fd782625c5a205a26 Mon Sep 17 00:00:00 2001 From: Joe Orton Date: Jan 23 2014 10:54:51 +0000 Subject: fix _httpd_mmn expansion in absence of httpd-devel --- diff --git a/mod_limitipconn.spec b/mod_limitipconn.spec index 07fe859..ae0beee 100644 --- a/mod_limitipconn.spec +++ b/mod_limitipconn.spec @@ -1,5 +1,5 @@ %{!?_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}} @@ -8,7 +8,7 @@ Summary: Simultaneous connection limiting module for Apache Name: mod_limitipconn Version: 0.23 -Release: 12%{?dist} +Release: 13%{?dist} Group: System Environment/Daemons License: ASL 2.0 URL: http://dominia.org/djao/limitipconn2.html @@ -60,6 +60,9 @@ rm -rf %{buildroot} %changelog +* Thu Jan 23 2014 Joe Orton - 0.23-13 +- fix _httpd_mmn expansion in absence of httpd-devel + * Sat Aug 03 2013 Fedora Release Engineering - 0.23-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild