packages: apache/apache.spec - rel 4 - added tmpfiles config for systemd

baggins baggins at pld-linux.org
Mon Jan 30 21:35:12 CET 2012


Author: baggins                      Date: Mon Jan 30 20:35:12 2012 GMT
Module: packages                      Tag: HEAD
---- Log message:
- rel 4
- added tmpfiles config for systemd

---- Files affected:
packages/apache:
   apache.spec (1.636 -> 1.637) 

---- Diffs:

================================================================
Index: packages/apache/apache.spec
diff -u packages/apache/apache.spec:1.636 packages/apache/apache.spec:1.637
--- packages/apache/apache.spec:1.636	Thu Oct 13 20:35:20 2011
+++ packages/apache/apache.spec	Mon Jan 30 21:35:06 2012
@@ -45,7 +45,7 @@
 Summary(tr.UTF-8):	Lider WWW tarayıcı
 Name:		apache
 Version:	2.2.21
-Release:	3
+Release:	4
 License:	Apache v2.0
 Group:		Networking/Daemons/HTTP
 Source0:	http://www.apache.org/dist/httpd/httpd-%{version}.tar.gz
@@ -79,6 +79,7 @@
 Source27:	%{name}-mod_mime_magic.conf
 Source28:	%{name}-mod_cache.conf
 Source29:	%{name}-example.net.conf
+Source30:	%{name}.tmpfiles
 Patch0:		%{name}-configdir_skip_backups.patch
 Patch1:		%{name}-layout.patch
 Patch2:		%{name}-suexec.patch
@@ -1922,7 +1923,8 @@
 install -d $RPM_BUILD_ROOT/etc/{logrotate.d,rc.d/init.d,sysconfig} \
 	$RPM_BUILD_ROOT%{_var}/{log/{httpd,archive/httpd},{run,cache}/httpd,lock/mod_dav} \
 	$RPM_BUILD_ROOT%{_sysconfdir}/{webapps.d,conf.d,vhosts.d} \
-	$RPM_BUILD_ROOT%{_datadir}/{cgi-bin,vhosts}
+	$RPM_BUILD_ROOT%{_datadir}/{cgi-bin,vhosts} \
+	$RPM_BUILD_ROOT/usr/lib/tmpfiles.d
 
 # prefork is default one
 %{__make} -C buildmpm-prefork install \
@@ -1979,6 +1981,8 @@
 cp -a %{SOURCE22} $CFG/20_languages.conf
 cp -a %{SOURCE29} $RPM_BUILD_ROOT%{_sysconfdir}/vhosts.d/example.net.conf
 
+install %{SOURCE30} $RPM_BUILD_ROOT/usr/lib/tmpfiles.d/%{name}.conf
+
 echo "LoadModule alias_module modules/mod_alias.so" > $CFG/00_mod_alias.conf
 echo "LoadModule authn_file_module	modules/mod_authn_file.so" > $CFG/00_mod_authn_file.conf
 echo "LoadModule authn_dbm_module	modules/mod_authn_dbm.so" > $CFG/00_mod_authn_dbm.conf
@@ -2358,6 +2362,8 @@
 %dir %attr(770,root,http) /var/run/httpd
 %dir %attr(770,root,http) /var/cache/httpd
 
+/usr/lib/tmpfiles.d/%{name}.conf
+
 %{_mandir}/man8/httpd.8*
 
 %attr(2751,root,logs) %dir /var/log/httpd
@@ -2781,6 +2787,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.637  2012/01/30 20:35:06  baggins
+- rel 4
+- added tmpfiles config for systemd
+
 Revision 1.636  2011/10/13 18:35:20  hawk
 - release 3
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/apache/apache.spec?r1=1.636&r2=1.637&f=u



More information about the pld-cvs-commit mailing list