diff --git a/.cvsignore b/.cvsignore index 25ff81b..5253619 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -tmpwatch-2.6.2.tar.gz +tmpwatch-2.7.1.tar.gz diff --git a/sources b/sources index 0d268a0..7408ac4 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -f646ce6d229505ea436208e13145449e tmpwatch-2.6.2.tar.gz +ae012a1fa418b8dafce356f404a22fc5 tmpwatch-2.7.1.tar.gz diff --git a/tmpwatch.spec b/tmpwatch.spec index 0655595..e7586d7 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.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 +- fixed longstanding bug where directories removed while in test mode. + +* Fri Mar 9 2001 Preston Brown +- Patch from enrico.scholz@informatik.tu-chemnitz.de allows concurrent + usage of mtime, ctime, and atime checking (#19550). + +* Fri Jan 05 2001 Preston Brown +- increased interval for removal to 30 days for /var/tmp per FHS (#19951) + * Tue Sep 12 2000 Nalin Dahyabhai - use execle() instead of system() to get the correct return code, fixes from Jeremy Katz