SPECS: man.spec - added tmpwatch file
blues
blues at pld-linux.org
Thu Mar 23 00:09:15 CET 2006
Author: blues Date: Wed Mar 22 23:09:15 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- added tmpwatch file
---- Files affected:
SPECS:
man.spec (1.118 -> 1.119)
---- Diffs:
================================================================
Index: SPECS/man.spec
diff -u SPECS/man.spec:1.118 SPECS/man.spec:1.119
--- SPECS/man.spec:1.118 Sat Feb 11 02:28:13 2006
+++ SPECS/man.spec Thu Mar 23 00:09:09 2006
@@ -237,8 +237,9 @@
%install
rm -rf $RPM_BUILD_ROOT
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}}
+ $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 '%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
@@ -250,6 +251,7 @@
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" >> $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
@@ -352,6 +354,7 @@
%files -f man.lang
%defattr(644,root,root,755)
%doc HISTORY README TODO
+%config(noreplace,missingok) %verify(not md5 mtime size) /etc/tmpwatch/*.conf
%attr(2755,root,man) %{_bindir}/man
%attr(755,root,root) %{_bindir}/man2dvi
%attr(755,root,root) %{_bindir}/zsoelim
@@ -485,6 +488,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.119 2006/03/22 23:09:09 blues
+- added tmpwatch file
+
Revision 1.118 2006/02/11 01:28:13 charles
- fix "makewhatis from man spits errors" - reported by glen; updated -makewhatis.patch
- rel. 3, STBR
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/man.spec?r1=1.118&r2=1.119&f=u
More information about the pld-cvs-commit
mailing list