[mod_fcgid] Move tmpfiles.d config from %{_sysconfdir} to %{_prefix}/lib

Paul Howarth pghmcfc at fedoraproject.org
Wed Jul 4 06:50:44 UTC 2012


commit de68b0307c9d1bd40a80148ac00948dfd88fb47c
Author: Paul Howarth <paul at city-fan.org>
Date:   Wed Jul 4 07:49:54 2012 +0100

    Move tmpfiles.d config from %{_sysconfdir} to %{_prefix}/lib

 mod_fcgid.spec |   13 ++++++++-----
 1 files changed, 8 insertions(+), 5 deletions(-)
---
diff --git a/mod_fcgid.spec b/mod_fcgid.spec
index aad54d3..c7eb9db 100644
--- a/mod_fcgid.spec
+++ b/mod_fcgid.spec
@@ -34,7 +34,7 @@
 
 Name:		mod_fcgid
 Version:	2.3.7
-Release:	3%{?dist}
+Release:	4%{?dist}
 Summary:	FastCGI interface module for Apache 2
 Group:		System Environment/Daemons
 License:	ASL 2.0
@@ -54,7 +54,7 @@ BuildRequires:	httpd-devel >= 2.0, pkgconfig
 Requires:	httpd-mmn = %{_httpd_mmn}
 # sed required for fixconf script
 Requires:	/bin/sed
-# systemd-units needed for ownership of /etc/tmpfiles.d directory
+# systemd-units needed for ownership of /usr/lib/tmpfiles.d directory
 %if 0%{?fedora} > 14 || 0%{?rhel} > 6
 Requires:	systemd-units
 %endif
@@ -153,8 +153,8 @@ rm -rf %{buildroot}%{_var}/www/manual
 # Make sure %%{rundir}/mod_fcgid exists at boot time for systems
 # with %%{rundir} on tmpfs (#656625)
 %if 0%{?fedora} > 14 || 0%{?rhel} > 6
-install -d -m 755 %{buildroot}%{_sysconfdir}/tmpfiles.d
-install -p -m 644 %{SOURCE4} %{buildroot}%{_sysconfdir}/tmpfiles.d/mod_fcgid.conf
+install -d -m 755 %{buildroot}%{_prefix}/lib/tmpfiles.d
+install -p -m 644 %{SOURCE4} %{buildroot}%{_prefix}/lib/tmpfiles.d/mod_fcgid.conf
 %endif
 
 # Install SELinux policy modules
@@ -209,7 +209,7 @@ exit 0
 %endif
 %config(noreplace) %{_httpd_confdir}/fcgid.conf
 %if 0%{?fedora} > 14 || 0%{?rhel} > 6
-%{_sysconfdir}/tmpfiles.d/mod_fcgid.conf
+%{_prefix}/lib/tmpfiles.d/mod_fcgid.conf
 %endif
 %dir %attr(0755,apache,apache) %{rundir}/mod_fcgid/
 
@@ -221,6 +221,9 @@ exit 0
 %endif
 
 %changelog
+* Wed Jul  4 2012 Paul Howarth <paul at city-fan.org> 2.3.7-4
+- Move tmpfiles.d config from %%{_sysconfdir} to %%{_prefix}/lib
+
 * Wed May  2 2012 Paul Howarth <paul at city-fan.org> 2.3.7-3
 - Make %%files list more explicit
 


More information about the scm-commits mailing list