diff --git a/mod_geoip.spec b/mod_geoip.spec index 2b90961..40551af 100644 --- a/mod_geoip.spec +++ b/mod_geoip.spec @@ -8,7 +8,7 @@ Summary: GeoIP module for the Apache HTTP Server Name: mod_geoip Version: 1.2.5 -Release: 7%{?dist} +Release: 8%{?dist} License: ASL 1.1 Group: System Environment/Daemons URL: http://www.maxmind.com/app/mod_geoip @@ -51,11 +51,12 @@ EOF %if "%{_httpd_modconfdir}" != "%{_httpd_confdir}" # 2.4-style -install 10-mod_geoip.conf %{buildroot}%{_httpd_modconfdir} -install mod_geoip.conf %{buildroot}%{_httpd_confdir} +install -m 0644 10-mod_geoip.conf %{buildroot}%{_httpd_modconfdir} +install -m 0644 mod_geoip.conf %{buildroot}%{_httpd_confdir} %else # old-style -cat 10-mod_geoip.conf mod_geoip.conf > %{buildroot}%{_httpd_confdir}/mod_geoip.conf +cat 10-mod_geoip.conf mod_geoip.conf > unified.conf +install -m 0644 unified.conf %{buildroot}%{_httpd_confdir}/mod_geoip.conf %endif %clean @@ -71,6 +72,9 @@ rm -rf %{buildroot} %endif %changelog +* Mon Apr 16 2012 Joe Orton - 1.2.5-8 +- fix config perms + * Wed Apr 04 2012 Jan Kaluza - 1.2.5-7 - Fix compilation error with httpd-2.4 (#809698)