packages: texlive/texlive.cron, texlive/texlive.spec - %config and %verify ...

gotar gotar at pld-linux.org
Thu Jan 20 01:16:37 CET 2011


Author: gotar                        Date: Thu Jan 20 00:16:37 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- %config and %verify flags for cron.daily fixed tmpwatch script

---- Files affected:
packages/texlive:
   texlive.cron (1.2 -> 1.3) , texlive.spec (1.327 -> 1.328) 

---- Diffs:

================================================================
Index: packages/texlive/texlive.cron
diff -u packages/texlive/texlive.cron:1.2 packages/texlive/texlive.cron:1.3
--- packages/texlive/texlive.cron:1.2	Mon Dec 29 21:22:56 2008
+++ packages/texlive/texlive.cron	Thu Jan 20 01:16:31 2011
@@ -1,4 +1,3 @@
-#!/bin/bash
+#!/bin/sh
 # Remove TeX fonts not used in 180 days
-/usr/sbin/tmpwatch 4320 /var/lib/texmf/fonts
-exit 0
+[ -x /usr/sbin/tmpwatch ] && /usr/sbin/tmpwatch 4320 /var/lib/texmf/fonts || :

================================================================
Index: packages/texlive/texlive.spec
diff -u packages/texlive/texlive.spec:1.327 packages/texlive/texlive.spec:1.328
--- packages/texlive/texlive.spec:1.327	Fri Nov 26 10:48:56 2010
+++ packages/texlive/texlive.spec	Thu Jan 20 01:16:31 2011
@@ -6161,9 +6161,9 @@
 # xmltex; do
 
 %if %{with bootstrap}
-  	install -d $RPM_BUILD_ROOT%{fmtdir}/${format}
-  	touch $RPM_BUILD_ROOT%{fmtdir}/${format}/${format}.fmt
-  	touch $RPM_BUILD_ROOT%{fmtdir}/pdftex/${format}.fmt
+	install -d $RPM_BUILD_ROOT%{fmtdir}/${format}
+	touch $RPM_BUILD_ROOT%{fmtdir}/${format}/${format}.fmt
+	touch $RPM_BUILD_ROOT%{fmtdir}/pdftex/${format}.fmt
 %else
 #######
 #	fmtutil --fmtdir $RPM_BUILD_ROOT%{fmtdir} --byfmt=${format}
@@ -7717,7 +7717,7 @@
 %attr(755,root,root) %{texmf}/web2c/mktexdir
 %attr(755,root,root) %{texmf}/web2c/mktexupd
 
-%attr(750,root,root) /etc/cron.daily/texlive
+%config(noreplace,missingok) %verify(not md5 mtime size) %attr(750,root,root) /etc/cron.daily/texlive
 
 %config(noreplace) %verify(not md5 mtime size) %{texmf}/web2c/fmtutil.cnf
 %config(noreplace) %verify(not md5 mtime size) %{texmf}/web2c/mktex.opt
@@ -14041,6 +14041,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.328  2011/01/20 00:16:31  gotar
+- %config and %verify flags for cron.daily fixed tmpwatch script
+
 Revision 1.327  2010/11/26 09:48:56  uzsolt
 - begin update to 2010
 - icuinfo.patch
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/texlive/texlive.cron?r1=1.2&r2=1.3&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/texlive/texlive.spec?r1=1.327&r2=1.328&f=u



More information about the pld-cvs-commit mailing list