[mod_geoip] fix config perms
jorton
jorton at fedoraproject.org
Mon Apr 16 14:42:56 UTC 2012
commit 5c9a6e9810d0690065e7a83304a17a42f02238fd
Author: Joe Orton <jorton at redhat.com>
Date: Mon Apr 16 15:42:46 2012 +0100
fix config perms
Resolves: rhbz#809698
mod_geoip.spec | 12 ++++++++----
1 files changed, 8 insertions(+), 4 deletions(-)
---
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 <jorton at redhat.com> - 1.2.5-8
+- fix config perms
+
* Wed Apr 04 2012 Jan Kaluza <jkaluza at redhat.com> - 1.2.5-7
- Fix compilation error with httpd-2.4 (#809698)
More information about the scm-commits
mailing list