diff --git a/.cvsignore b/.cvsignore index 59fc181..3480800 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -tmpwatch-2.9.17.tar.bz2 +tmpwatch-2.10.tar.bz2 diff --git a/sources b/sources index a096cad..d32002d 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -7738f5db4ae0ce3795c224f13a597356 tmpwatch-2.9.17.tar.bz2 +4a0e5a111daa080fc20ad6d3f2b6784f tmpwatch-2.10.tar.bz2 diff --git a/tmpwatch.spec b/tmpwatch.spec index 1603407..3f29881 100644 --- a/tmpwatch.spec +++ b/tmpwatch.spec @@ -1,13 +1,15 @@ Summary: A utility for removing files based on when they were last accessed Name: tmpwatch -Version: 2.9.17 -Release: 2%{?dist} +Version: 2.10 +Release: 1%{?dist} URL: https://fedorahosted.org/tmpwatch/ Source0: https://fedorahosted.org/releases/t/m/tmpwatch/tmpwatch-%{version}.tar.bz2 Source1: tmpwatch.daily License: GPLv2 Group: System Environment/Base Requires: psmisc +# configure is looking for /sbin/fuser +BuildRequires: psmisc %description The tmpwatch utility recursively searches through specified @@ -21,11 +23,11 @@ removes empty directories and regular files. %setup -q %build +%configure make %{?_smp_mflags} %install -make ROOT=%{buildroot} SBINDIR=%{_sbindir} MANDIR=%{_mandir} \ - INSTALL='install -p' install +make DESTDIR=%{buildroot} INSTALL='install -p' install mkdir -p %{buildroot}%{_bindir} # The $(...) computes /usr/bin => ../../ @@ -41,13 +43,15 @@ rm -rf %{buildroot} %files %defattr(-,root,root) -%doc COPYING ChangeLog NEWS README +%doc AUTHORS COPYING ChangeLog NEWS README %{_bindir}/tmpwatch %{_sbindir}/tmpwatch %{_mandir}/man8/tmpwatch.8* %config(noreplace) /etc/cron.daily/tmpwatch %changelog +* Tue Mar 23 2010 Miloslav Trmač - 2.10-1 +- Update to tmpwatch-2.10. - Drop no longer neceessary references to BuildRoot: * Mon Feb 1 2010 Miloslav Trmač - 2.9.17-2