Author: glen                         Date: Wed Oct  8 22:14:53 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- run cron earlier and from own crontab, so that email subject matters; rel 4

---- Files affected:
SPECS:
   logwatch.spec (1.179 -> 1.180) 

---- Diffs:

================================================================
Index: SPECS/logwatch.spec
diff -u SPECS/logwatch.spec:1.179 SPECS/logwatch.spec:1.180
--- SPECS/logwatch.spec:1.179   Mon Oct  6 08:53:41 2008
+++ SPECS/logwatch.spec Thu Oct  9 00:14:47 2008
@@ -4,7 +4,7 @@
 Summary(pl.UTF-8):     Logwatch - analizator logów systemowych
 Name:          logwatch
 Version:       7.3.6
-Release:       3
+Release:       4
 License:       MIT
 Group:         Applications/System
 # Path for stable versions:
@@ -12,12 +12,13 @@
 # Source0-md5: 937d982006b2a76a83edfcfd2e5a9d7d
 # Path for pre-versions:
 #Source0:      ftp://ftp.kaybee.org/pub/beta/linux/%{name}-pre%{version}.tar.gz
-Source1:       %{name}.cron
-Source2:       %{name}.sysconfig
-Source3:       %{name}.tmpwatch
 # https://po2.uni-stuttgart.de/~rusjako/logwatch/default.html
-Source4:       
https://po2.uni-stuttgart.de/~rusjako/logwatch/%{name}-syslog-ng.tar.gz
-# Source4-md5: 491e353044e93d8c31484cff8f252a68
+Source1:       
https://po2.uni-stuttgart.de/~rusjako/logwatch/%{name}-syslog-ng.tar.gz
+# Source1-md5: 491e353044e93d8c31484cff8f252a68
+Source2:       %{name}.sysconfig
+Source3:       %{name}-cron.sh
+Source4:       %{name}.cron
+Source5:       %{name}.tmpwatch
 Patch0:                %{name}-log_conf.patch
 Patch1:                %{name}-archives.patch
 Patch2:                %{name}-syslog-ng.patch
@@ -46,7 +47,7 @@
 użyciu i może pracować na większości systemów.
 
 %prep
-%setup -q -a4
+%setup -q -a1
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
@@ -56,7 +57,7 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d 
$RPM_BUILD_ROOT{%{_logwatchconf}/{conf,scripts},/etc/{cron.daily,sysconfig,tmpwatch}}
 \
+install -d 
$RPM_BUILD_ROOT{%{_logwatchconf}/{conf,scripts},/etc/{cron.d,sysconfig,tmpwatch}}
 \
        
$RPM_BUILD_ROOT{%{_sbindir},%{_mandir}/man8,%{_logwatchdir}/{lib,default.conf},/var/cache/logwatch}
 
 install conf/logwatch.conf $RPM_BUILD_ROOT%{_logwatchconf}/conf
@@ -78,10 +79,10 @@
 
 ln -sf %{_sbindir}/logwatch $RPM_BUILD_ROOT%{_logwatchdir}/scripts/logwatch.pl
 
-install %{SOURCE1} $RPM_BUILD_ROOT/etc/cron.daily/0%{name}
 install %{SOURCE2} $RPM_BUILD_ROOT/etc/sysconfig/%{name}
-install %{SOURCE3} $RPM_BUILD_ROOT/etc/tmpwatch/%{name}.conf
-
+install %{SOURCE3} $RPM_BUILD_ROOT%{_sbindir}/logwatch-cron
+install %{SOURCE4} $RPM_BUILD_ROOT/etc/cron.d/logwatch
+install %{SOURCE5} $RPM_BUILD_ROOT/etc/tmpwatch/%{name}.conf
 install logwatch.8 $RPM_BUILD_ROOT%{_mandir}/man8
 
 %clean
@@ -109,7 +110,7 @@
 %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/0%{name}
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) 
/etc/cron.d/logwatch
 %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
 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) 
%{_logwatchconf}/conf/logfiles/*.conf
@@ -122,6 +123,7 @@
 %attr(750,root,root) %dir %{_logwatchconf}/scripts
 %attr(755,root,root) %{_logwatchdir}
 %attr(755,root,root) %{_sbindir}/logwatch
+%attr(755,root,root) %{_sbindir}/logwatch-cron
 %attr(750,root,root) %dir /var/cache/logwatch
 %{_mandir}/man8/*
 
@@ -131,6 +133,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.180  2008/10/08 22:14:47  glen
+- run cron earlier and from own crontab, so that email subject matters; rel 4
+
 Revision 1.179  2008/10/06 06:53:41  glen
 - match startup/shutdown from syslog-ng 2.0.9
 
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/logwatch.spec?r1=1.179&r2=1.180&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to