From e8322dbe44570d669810b5d2b417410857809da1 Mon Sep 17 00:00:00 2001 From: Miloslav Trmac Date: Fri, 14 Dec 2007 15:04:27 +0000 Subject: [PATCH] - Fix --nosymlinks description in the man page - Use the maximum of atime, mtime and ctime when checking whether a file is obsolete Resolves: #373301 --- .cvsignore | 2 +- sources | 2 +- tmpwatch.daily | 9 +++++---- tmpwatch.spec | 10 ++++++++-- 4 files changed, 15 insertions(+), 8 deletions(-) diff --git a/.cvsignore b/.cvsignore index cbccc07..5140d3a 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -tmpwatch-2.9.11.tar.bz2 +tmpwatch-2.9.12.tar.bz2 diff --git a/sources b/sources index b249320..86b2084 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -4508aaaf26cb3d6c5cb313fb7eb93ce2 tmpwatch-2.9.11.tar.bz2 +76ce5fd301e230d6d39bff38fdd16d7c tmpwatch-2.9.12.tar.bz2 diff --git a/tmpwatch.daily b/tmpwatch.daily index 9fcc2c7..cbc34f9 100644 --- a/tmpwatch.daily +++ b/tmpwatch.daily @@ -1,9 +1,10 @@ #! /bin/sh -/usr/sbin/tmpwatch -x /tmp/.X11-unix -x /tmp/.XIM-unix -x /tmp/.font-unix \ - -x /tmp/.ICE-unix -x /tmp/.Test-unix 10d /tmp -/usr/sbin/tmpwatch 30d /var/tmp +flags=-amc +/usr/sbin/tmpwatch "$flags" -x /tmp/.X11-unix -x /tmp/.XIM-unix \ + -x /tmp/.font-unix -x /tmp/.ICE-unix -x /tmp/.Test-unix 10d /tmp +/usr/sbin/tmpwatch "$flags" 30d /var/tmp for d in /var/{cache/man,catman}/{cat?,X11R6/cat?,local/cat?}; do if [ -d "$d" ]; then - /usr/sbin/tmpwatch -f 30d "$d" + /usr/sbin/tmpwatch "$flags" -f 30d "$d" fi done diff --git a/tmpwatch.spec b/tmpwatch.spec index 3126c8f..17aa3e7 100644 --- a/tmpwatch.spec +++ b/tmpwatch.spec @@ -1,7 +1,7 @@ Summary: A utility for removing files based on when they were last accessed Name: tmpwatch -Version: 2.9.11 -Release: 2 +Version: 2.9.12 +Release: 1 Source0: %{name}-%{version}.tar.bz2 Source1: tmpwatch.daily License: GPL+ @@ -41,6 +41,12 @@ rm -rf %{buildroot} %config(noreplace) /etc/cron.daily/tmpwatch %changelog +* Fri Dec 14 2007 Miloslav Trmač - 2.9.12-1 +- Fix --nosymlinks description in the man page +- Use the maximum of atime, mtime and ctime when checking whether a file is + obsolete + Resolves: #373301 + * Tue Oct 16 2007 Miloslav Trmač - 2.9.11-2 - Update License: