SPECS: munin.spec - release 2 - added logrotate config

baggins baggins at pld-linux.org
Tue Nov 8 19:33:32 CET 2005


Author: baggins                      Date: Tue Nov  8 18:33:32 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- release 2
- added logrotate config

---- Files affected:
SPECS:
   munin.spec (1.29 -> 1.30) 

---- Diffs:

================================================================
Index: SPECS/munin.spec
diff -u SPECS/munin.spec:1.29 SPECS/munin.spec:1.30
--- SPECS/munin.spec:1.29	Mon Oct 10 23:00:53 2005
+++ SPECS/munin.spec	Tue Nov  8 19:33:26 2005
@@ -10,7 +10,7 @@
 Summary(pl):	Munin - agent danych RRD Linpro
 Name:		munin
 Version:	1.3.2
-Release:	1.6
+Release:	2
 License:	GPL
 Group:		Daemons
 Source0:	http://dl.sourceforge.net/munin/%{name}_%{version}.tar.gz
@@ -18,6 +18,7 @@
 Source1:	%{name}-node.init
 Source2:	%{name}.cron
 Source3:	%{name}-apache.conf
+Source4:	%{name}.logrotate
 Patch0:		%{name}-Makefile.patch
 Patch1:		%{name}-plugins.patch
 Patch2:		%{name}-node-config.patch
@@ -103,13 +104,14 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT/etc/{rc.d/init.d,cron.d}
+install -d $RPM_BUILD_ROOT/etc/{rc.d/init.d,cron.d,logrotate.d}
 
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/munin-node
 install %{SOURCE2} $RPM_BUILD_ROOT/etc/cron.d/munin
+install %{SOURCE4} $RPM_BUILD_ROOT/etc/logrotate.d/munin
 
 install %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/apache.conf
 
@@ -199,6 +201,7 @@
 %dir %{_datadir}/munin
 %attr(750,munin,root) %dir /var/log/munin
 %attr(770,munin,munin) %dir /var/lib/munin
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/munin
 
 %files node
 %defattr(644,root,root,755)
@@ -227,6 +230,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.30  2005/11/08 18:33:26  baggins
+- release 2
+- added logrotate config
+
 Revision 1.29  2005/10/10 21:00:53  baggins
 - rel 1.6
 - perl sucks
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/munin.spec?r1=1.29&r2=1.30&f=u




More information about the pld-cvs-commit mailing list