SPECS: logwatch.spec - added tmpwatch file for /var/cache/logwatch...

blues blues at pld-linux.org
Mon Apr 10 09:54:24 CEST 2006


Author: blues                        Date: Mon Apr 10 07:54:24 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- added tmpwatch file for /var/cache/logwatch cleanup

---- Files affected:
SPECS:
   logwatch.spec (1.167 -> 1.168) 

---- Diffs:

================================================================
Index: SPECS/logwatch.spec
diff -u SPECS/logwatch.spec:1.167 SPECS/logwatch.spec:1.168
--- SPECS/logwatch.spec:1.167	Sun Apr  9 17:01:58 2006
+++ SPECS/logwatch.spec	Mon Apr 10 09:54:19 2006
@@ -14,6 +14,7 @@
 #Source0:	ftp://ftp.kaybee.org/pub/beta/linux/%{name}-pre%{version}.tar.gz
 Source1:	%{name}.cron
 Source2:	%{name}.sysconfig
+Source3:	%{name}.tmpwatch
 Patch0:		%{name}-log_conf.patch
 Patch1:		%{name}-gawk.patch
 URL:		http://www.logwatch.org/
@@ -49,7 +50,7 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_logwatchconf}/{conf,scripts},/etc/{cron.daily,sysconfig}} \
+install -d $RPM_BUILD_ROOT{%{_logwatchconf}/{conf,scripts},/etc/{cron.daily,sysconfig,tmpwatch}} \
 	$RPM_BUILD_ROOT{%{_sbindir},%{_mandir}/man8,%{_logwatchdir}/{lib,default.conf},/var/cache/logwatch}
 
 install conf/logwatch.conf $RPM_BUILD_ROOT%{_logwatchconf}/conf
@@ -71,6 +72,7 @@
 
 install %{SOURCE1} $RPM_BUILD_ROOT/etc/cron.daily/00-%{name}
 install %{SOURCE2} $RPM_BUILD_ROOT/etc/sysconfig/%{name}
+install %{SOURCE3} $RPM_BUILD_ROOT/etc/tmpwatch/%{name}.conf
 
 install logwatch.8 $RPM_BUILD_ROOT%{_mandir}/man8
 
@@ -104,6 +106,7 @@
 %defattr(644,root,root,755)
 %doc README HOWTO-* project/{CHANGES,TODO}
 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/%{name}
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/tmpwatch/%{name}.conf
 %attr(755,root,root) /etc/cron.daily/00-%{name}
 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_logwatchconf}/conf/logwatch.conf
 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_logwatchconf}/conf/html/*.html
@@ -126,6 +129,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.168  2006/04/10 07:54:19  blues
+- added tmpwatch file for /var/cache/logwatch cleanup
+
 Revision 1.167  2006/04/09 15:01:58  blues
 - rel.2 - added missing configs, needed for html generation. STBR to AC!!
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/logwatch.spec?r1=1.167&r2=1.168&f=u



More information about the pld-cvs-commit mailing list