SPECS (AC-branch): man.spec - don't try to do tmpwatch jobs for ev...
blues
blues at pld-linux.org
Thu Mar 1 21:41:07 CET 2007
Author: blues Date: Thu Mar 1 20:41:07 2007 GMT
Module: SPECS Tag: AC-branch
---- Log message:
- don't try to do tmpwatch jobs for every directory. Pointless... STBR
---- Files affected:
SPECS:
man.spec (1.128.2.2 -> 1.128.2.3)
---- Diffs:
================================================================
Index: SPECS/man.spec
diff -u SPECS/man.spec:1.128.2.2 SPECS/man.spec:1.128.2.3
--- SPECS/man.spec:1.128.2.2 Sun Feb 4 18:13:09 2007
+++ SPECS/man.spec Thu Mar 1 21:41:02 2007
@@ -13,7 +13,7 @@
Summary(uk): îÁÂŚŇ ŐÔÉĚŚÔ ÄĚŃ ÄĎËŐÍĹÎÔÁĂŚ§: man, apropos ÔÁ whatis
Name: man
Version: 1.6d
-Release: 3
+Release: 4
License: GPL
Group: Applications/System
Source0: http://primates.ximian.com/~flucifredi/man/%{name}-%{version}.tar.gz
@@ -247,7 +247,8 @@
install -d $RPM_BUILD_ROOT{/etc/cron.{daily,weekly},%{_bindir},%{_mandir},%{_sbindir},%{_cgibinmandir},%{_cgiauxmandir}} \
$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 '# Cleanup man temporary files:' > $RPM_BUILD_ROOT/etc/tmpwatch/man.conf
+echo "/var/cache/man 240 -d" >> $RPM_BUILD_ROOT/etc/tmpwatch/man.conf
echo '%defattr(644,root,root,755)' > man.lang
for i in "" bg 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
@@ -261,7 +262,7 @@
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
+ echo "${lng}%attr(775,root,man) /var/cache/man${cdir}$i/cat[1-9n]" >> man.lang
done
done
@@ -491,6 +492,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.128.2.3 2007/03/01 20:41:02 blues
+- don't try to do tmpwatch jobs for every directory. Pointless... STBR
+
Revision 1.128.2.2 2007/02/04 17:13:09 blues
- "-d" option for man cache
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/man.spec?r1=1.128.2.2&r2=1.128.2.3&f=u
More information about the pld-cvs-commit
mailing list