- Add --exclude-user (original patch by Brett Pemberton)
- Fix too long line in /etc/cron.daily/tmpwatch
This commit is contained in:
parent
0378a09e06
commit
05c4fb75ed
@ -1 +1 @@
|
||||
tmpwatch-2.9.5.tar.gz
|
||||
tmpwatch-2.9.6.tar.gz
|
||||
|
||||
2
sources
2
sources
@ -1 +1 @@
|
||||
38e5736baddc67e0689f4d636775d601 tmpwatch-2.9.5.tar.gz
|
||||
6c316f1853a30bfee182fee23e509317 tmpwatch-2.9.6.tar.gz
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
Summary: A utility for removing files based on when they were last accessed.
|
||||
Name: tmpwatch
|
||||
Version: 2.9.5
|
||||
Version: 2.9.6
|
||||
Release: 1
|
||||
Source: %{name}-%{version}.tar.gz
|
||||
License: GPL
|
||||
@ -27,13 +27,13 @@ rm -rf %{buildroot}
|
||||
make ROOT=%{buildroot} SBINDIR=%{_sbindir} MANDIR=%{_mandir} install
|
||||
|
||||
mkdir -p %{buildroot}/etc/cron.daily
|
||||
cat > %{buildroot}/etc/cron.daily/tmpwatch <<EOF
|
||||
cat > %{buildroot}/etc/cron.daily/tmpwatch <<\EOF
|
||||
/usr/sbin/tmpwatch -x /tmp/.X11-unix -x /tmp/.XIM-unix -x /tmp/.font-unix \
|
||||
-x /tmp/.ICE-unix -x /tmp/.Test-unix 240 /tmp
|
||||
/usr/sbin/tmpwatch 720 /var/tmp
|
||||
for d in /var/{cache/man,catman}/{cat?,X11R6/cat?,local/cat?}; do
|
||||
if [ -d "\$d" ]; then
|
||||
/usr/sbin/tmpwatch -f 720 \$d
|
||||
if [ -d "$d" ]; then
|
||||
/usr/sbin/tmpwatch -f 720 "$d"
|
||||
fi
|
||||
done
|
||||
EOF
|
||||
@ -49,6 +49,10 @@ rm -rf %{buildroot}
|
||||
%config(noreplace) /etc/cron.daily/tmpwatch
|
||||
|
||||
%changelog
|
||||
* Tue Nov 29 2005 Miloslav Trmac <mitr@redhat.com> - 2.9.6-1
|
||||
- Add --exclude-user (original patch by Brett Pemberton)
|
||||
- Fix too long line in /etc/cron.daily/tmpwatch
|
||||
|
||||
* Fri Nov 11 2005 Miloslav Trmac <mitr@redhat.com> - 2.9.5-1
|
||||
- Fix GPL reference in usage message (#163531, patch by Ville Skyttä)
|
||||
- Convert changelog to UTF-8
|
||||
|
||||
Loading…
Reference in New Issue
Block a user