auto-import changelog data from tmpwatch-2.7.1-1.src.rpm

Thu Mar 29 2001 Preston Brown <pbrown@redhat.com>
- fixed longstanding bug where directories removed while in test mode.
Fri Mar 09 2001 Preston Brown <pbrown@redhat.com>
- Patch from enrico.scholz@informatik.tu-chemnitz.de allows concurrent
    usage of mtime, ctime, and atime checking (#19550).
Fri Jan 05 2001 Preston Brown <pbrown@redhat.com>
- increased interval for removal to 30 days for /var/tmp per FHS (#19951)
This commit is contained in:
cvsdist 2004-09-09 13:22:25 +00:00
parent d2c7974335
commit 42e1d65b87
3 changed files with 21 additions and 9 deletions

View File

@ -1 +1 @@
tmpwatch-2.6.2.tar.gz
tmpwatch-2.7.1.tar.gz

View File

@ -1 +1 @@
f646ce6d229505ea436208e13145449e tmpwatch-2.6.2.tar.gz
ae012a1fa418b8dafce356f404a22fc5 tmpwatch-2.7.1.tar.gz

View File

@ -1,7 +1,7 @@
Summary: A utility for removing files based on when they were last accessed.
Name: tmpwatch
Version: 2.6.2
Release: 1.7
Version: 2.7.1
Release: 1
Source: tmpwatch-%{version}.tar.gz
Copyright: GPL
Group: System Environment/Base
@ -23,12 +23,14 @@ removes empty directories and regular files.
make RPM_OPT_FLAGS="$RPM_OPT_FLAGS"
%install
rm -rf $RPM_BUILD_ROOT
make PREFIX=$RPM_BUILD_ROOT MANDIR=%{_mandir} install
rm -rf %{buildroot}
make PREFIX=%{buildroot} MANDIR=%{_mandir} install
( cd $RPM_BUILD_ROOT
( cd %{buildroot}
mkdir -p ./etc/cron.daily
echo '/usr/sbin/tmpwatch 240 /tmp /var/tmp' \
echo '/usr/sbin/tmpwatch 240 /tmp' \
>> ./etc/cron.daily/tmpwatch
echo '/usr/sbin/tmpwatch 720 /var/tmp' \
>> ./etc/cron.daily/tmpwatch
echo '[ -d /var/cache/man ] && /usr/sbin/tmpwatch -f 240 /var/cache/man/{X11R6/cat?,cat?,local/cat?}' \
>> ./etc/cron.daily/tmpwatch
@ -38,7 +40,7 @@ make PREFIX=$RPM_BUILD_ROOT MANDIR=%{_mandir} install
)
%clean
rm -rf $RPM_BUILD_ROOT
rm -rf %{buildroot}
%files
%defattr(-,root,root)
@ -47,6 +49,16 @@ rm -rf $RPM_BUILD_ROOT
%config /etc/cron.daily/tmpwatch
%changelog
* Thu Mar 29 2001 Preston Brown <pbrown@redhat.com>
- fixed longstanding bug where directories removed while in test mode.
* Fri Mar 9 2001 Preston Brown <pbrown@redhat.com>
- Patch from enrico.scholz@informatik.tu-chemnitz.de allows concurrent
usage of mtime, ctime, and atime checking (#19550).
* Fri Jan 05 2001 Preston Brown <pbrown@redhat.com>
- increased interval for removal to 30 days for /var/tmp per FHS (#19951)
* Tue Sep 12 2000 Nalin Dahyabhai <nalin@redhat.com>
- use execle() instead of system() to get the correct return code, fixes from
Jeremy Katz <katzj@linuxpower.org>