diff --git a/.cvsignore b/.cvsignore index 4ae582f..254c1ea 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -tmpwatch-2.9.15.tar.bz2 +tmpwatch-2.9.16.tar.bz2 diff --git a/sources b/sources index 92e0377..2a54179 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -41ffc6789ffdbf0e35da1ffb655276d1 tmpwatch-2.9.15.tar.bz2 +40eee5c3e3f352c30e532ffc1f0af3a8 tmpwatch-2.9.16.tar.bz2 diff --git a/tmpwatch.daily b/tmpwatch.daily index 21fee01..5ab2e74 100644 --- a/tmpwatch.daily +++ b/tmpwatch.daily @@ -1,7 +1,8 @@ #! /bin/sh flags=-umc /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 + -x /tmp/.font-unix -x /tmp/.ICE-unix -x /tmp/.Test-unix \ + -X '/tmp/hsperfdata_*' 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 diff --git a/tmpwatch.spec b/tmpwatch.spec index 68b4d3f..fd48245 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.15 -Release: 2 +Version: 2.9.16 +Release: 1%{?dist} URL: https://fedorahosted.org/tmpwatch/ Source0: https://fedorahosted.org/releases/t/m/tmpwatch/tmpwatch-%{version}.tar.bz2 Source1: tmpwatch.daily @@ -26,7 +26,8 @@ make %{?_smp_mflags} %install rm -rf %{buildroot} -make ROOT=%{buildroot} SBINDIR=%{_sbindir} MANDIR=%{_mandir} install +make ROOT=%{buildroot} SBINDIR=%{_sbindir} MANDIR=%{_mandir} \ + INSTALL='install -p' install mkdir -p %{buildroot}%{_bindir} # The $(...) computes /usr/bin => ../../ @@ -34,7 +35,7 @@ ln -s $(echo %{_bindir} |sed 's,/[^/]\+,/..,g; s,^/,,')%{_sbindir}/tmpwatch \ %{buildroot}%{_bindir}/tmpwatch mkdir -p %{buildroot}/etc/cron.daily -cp %{SOURCE1} %{buildroot}/etc/cron.daily/tmpwatch +install -p %{SOURCE1} %{buildroot}/etc/cron.daily/tmpwatch chmod +x %{buildroot}/etc/cron.daily/tmpwatch %clean @@ -49,6 +50,12 @@ rm -rf %{buildroot} %config(noreplace) /etc/cron.daily/tmpwatch %changelog +* Thu Oct 15 2009 Miloslav Trmač - 2.9.16-1 +- Update to tmpwatch-2.9.16. +- Exclude /tmp/hsperfdata_*. + Resolves: #527425 +- Preserve timestamps where possible. + * Sun Jul 26 2009 Fedora Release Engineering - 2.9.15-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild