SPECS: vnstat.spec - daily reports cronjob - R: crondaemon, smtpda...

adamg adamg at pld-linux.org
Sun Apr 6 00:17:26 CEST 2008


Author: adamg                        Date: Sat Apr  5 22:17:26 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- daily reports cronjob
- R: crondaemon, smtpdaemon

---- Files affected:
SPECS:
   vnstat.spec (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: SPECS/vnstat.spec
diff -u SPECS/vnstat.spec:1.2 SPECS/vnstat.spec:1.3
--- SPECS/vnstat.spec:1.2	Sat Apr  5 13:01:20 2008
+++ SPECS/vnstat.spec	Sun Apr  6 00:17:20 2008
@@ -11,12 +11,15 @@
 Source1:	%{name}.sysconfig
 Source2:	%{name}.cron
 Source3:	%{name}-cron
+Source4:	%{name}-report
 URL:		http://humdi.net/vnstat/
 BuildRequires:	rpmbuild(macros) >= 1.202
 Requires(pre):	/bin/id
 Requires(pre):	/usr/bin/getgid
 Requires(pre):	/usr/sbin/groupadd
 Requires(pre):	/usr/sbin/useradd
+Requires:	crondaemon
+Requires:	smtpdaemon
 Provides:	group(vnstat)
 Provides:	user(vnstat)
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -54,6 +57,7 @@
 install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/%{name}
 install %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/cron.d/%{name}
 install %{SOURCE3} $RPM_BUILD_ROOT%{_sbindir}
+install %{SOURCE4} $RPM_BUILD_ROOT%{_bindir}
 
 %clean
 %{__rm} -rf $RPM_BUILD_ROOT
@@ -76,6 +80,7 @@
 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/%{name}
 %{_mandir}/man1/*
 %attr(755,root,root) %{_bindir}/%{name}
+%attr(755,root,root) %{_bindir}/%{name}-report
 %attr(755,root,root) %{_sbindir}/%{name}-cron
 %attr(750,vnstat,vnstat)%{_localstatedir}/lib/%{name}
 
@@ -85,6 +90,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.3  2008-04-05 22:17:20  adamg
+- daily reports cronjob
+- R: crondaemon, smtpdaemon
+
 Revision 1.2  2008-04-05 11:01:20  adamg
 - PLDized
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/vnstat.spec?r1=1.2&r2=1.3&f=u



More information about the pld-cvs-commit mailing list