- Update to tmpwatch-2.10.
- Drop no longer neceessary references to BuildRoot:
This commit is contained in:
parent
76c0c589dc
commit
9c733d9829
@ -1 +1 @@
|
||||
tmpwatch-2.9.17.tar.bz2
|
||||
tmpwatch-2.10.tar.bz2
|
||||
|
||||
2
sources
2
sources
@ -1 +1 @@
|
||||
7738f5db4ae0ce3795c224f13a597356 tmpwatch-2.9.17.tar.bz2
|
||||
4a0e5a111daa080fc20ad6d3f2b6784f tmpwatch-2.10.tar.bz2
|
||||
|
||||
@ -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č <mitr@redhat.com> - 2.10-1
|
||||
- Update to tmpwatch-2.10.
|
||||
- Drop no longer neceessary references to BuildRoot:
|
||||
|
||||
* Mon Feb 1 2010 Miloslav Trmač <mitr@redhat.com> - 2.9.17-2
|
||||
|
||||
Loading…
Reference in New Issue
Block a user