SPECS: man.spec - well, it seems that with current tmpwatch and "-...

blues blues at pld-linux.org
Mon Feb 5 16:47:02 CET 2007


Author: blues                        Date: Mon Feb  5 15:47:02 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- well, it seems that with current tmpwatch and "-d" option there is no
  need to create such a long dir-list

---- Files affected:
SPECS:
   man.spec (1.139 -> 1.140) 

---- Diffs:

================================================================
Index: SPECS/man.spec
diff -u SPECS/man.spec:1.139 SPECS/man.spec:1.140
--- SPECS/man.spec:1.139	Sun Feb  4 18:14:38 2007
+++ SPECS/man.spec	Mon Feb  5 16:46:57 2007
@@ -297,6 +297,7 @@
 	$RPM_BUILD_ROOT{%{_mandir}/{hu,ja,ko}/man{1,5,8},%{_webappdir},/etc/tmpwatch}
 
 echo '# Cleanup man temporary files:' > $RPM_BUILD_ROOT/etc/tmpwatch/man.conf
+echo "/var/cache/man 240 -d" >> $RPM_BUILD_ROOT/etc/tmpwatch/man.conf
 > man.lang
 for i in '' bg ca cs da de el es fi fr gl hr hu id it ja ko nl pl pt pt_BR ro ru \
 	 sk sl sr sv tr uk zh_CN zh_TW; do
@@ -308,7 +309,6 @@
 	fi
 	for cdir in '' /local /X11R6 ; do
 		install -d $RPM_BUILD_ROOT/var/cache/man${cdir}$i/cat{1,2,3,4,5,6,7,8,9,n}
-		echo "/var/cache/man${cdir}$i 240 -d" >> $RPM_BUILD_ROOT/etc/tmpwatch/man.conf
 		echo "${lng}%dir /var/cache/man${cdir}$i" >> man.lang
 		echo "${lng}%attr(775,root,man) /var/cache/man${cdir}$i/cat[1-9n]" >> man.lang
 	done
@@ -587,6 +587,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.140  2007/02/05 15:46:57  blues
+- well, it seems that with current tmpwatch and "-d" option there is no
+  need to create such a long dir-list
+
 Revision 1.139  2007/02/04 17:14:38  blues
 - conflicts added
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/man.spec?r1=1.139&r2=1.140&f=u



More information about the pld-cvs-commit mailing list