- Fix --nosymlinks description in the man page

- Use the maximum of atime, mtime and ctime when checking whether a file is
    obsolete Resolves: #373301
This commit is contained in:
Miloslav Trmac 2007-12-14 15:04:27 +00:00
parent 65e1c40507
commit e8322dbe44
4 changed files with 15 additions and 8 deletions

View File

@ -1 +1 @@
tmpwatch-2.9.11.tar.bz2
tmpwatch-2.9.12.tar.bz2

View File

@ -1 +1 @@
4508aaaf26cb3d6c5cb313fb7eb93ce2 tmpwatch-2.9.11.tar.bz2
76ce5fd301e230d6d39bff38fdd16d7c tmpwatch-2.9.12.tar.bz2

View File

@ -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

View File

@ -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č <mitr@redhat.com> - 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č <mitr@redhat.com> - 2.9.11-2
- Update License: