[tmpwatch] Drop the cron.daily script

Miloslav Trmac mitr at fedoraproject.org
Mon Feb 11 18:08:09 UTC 2013


commit 1bffae3d96dcc86eedd34db5fc92590e2f2b38b1
Author: Miloslav Trmač <mitr at redhat.com>
Date:   Mon Feb 11 19:06:29 2013 +0100

    Drop the cron.daily script

 tmpwatch.daily |   11 -----------
 tmpwatch.spec  |   13 ++++++-------
 2 files changed, 6 insertions(+), 18 deletions(-)
---
diff --git a/tmpwatch.spec b/tmpwatch.spec
index acf1a18..dfc7fba 100644
--- a/tmpwatch.spec
+++ b/tmpwatch.spec
@@ -1,10 +1,9 @@
 Summary: A utility for removing files based on when they were last accessed
 Name: tmpwatch
 Version: 2.11
-Release: 2%{?dist}
+Release: 3%{?dist}
 URL: https://fedorahosted.org/tmpwatch/
 Source0: https://fedorahosted.org/releases/t/m/tmpwatch/tmpwatch-%{version}.tar.bz2
-Source1: tmpwatch.daily
 License: GPLv2
 Group: System Environment/Base
 Requires: psmisc
@@ -35,18 +34,18 @@ mkdir -p %{buildroot}%{_bindir}
 ln -s $(echo %{_bindir} |sed 's,/[^/]\+,/..,g; s,^/,,')%{_sbindir}/tmpwatch \
    %{buildroot}%{_bindir}/tmpwatch
 
-mkdir -p %{buildroot}/etc/cron.daily
-install -p %{SOURCE1} %{buildroot}/etc/cron.daily/tmpwatch
-chmod +x %{buildroot}/etc/cron.daily/tmpwatch
-
 %files
 %doc AUTHORS COPYING ChangeLog NEWS README
 %{_bindir}/tmpwatch
 %{_sbindir}/tmpwatch
 %{_mandir}/man8/tmpwatch.8*
-%config(noreplace) /etc/cron.daily/tmpwatch
 
 %changelog
+* Mon Feb 11 2013 Miloslav Trmač <mitr at redhat.com> - 2.11-3
+- Drop the cron.daily script, systemd default configuration handles the same
+  places.
+  Resolves: #906455
+
 * Tue Aug 21 2012 Miloslav Trmač <mitr at redhat.com> - 2.11-3
 - Drop no longer necessary %%clean and %%defattr commands.
 


More information about the scm-commits mailing list