- Update to tmpwatch-2.9.15.
- Add a symlink to %%{_bindir}. Resolves: #494239
This commit is contained in:
parent
25d479b399
commit
e1ac533f45
@ -1 +1 @@
|
||||
tmpwatch-2.9.14.tar.bz2
|
||||
tmpwatch-2.9.15.tar.bz2
|
||||
|
||||
2
sources
2
sources
@ -1 +1 @@
|
||||
9d77f5f4a1bb93fec08b17d53fef6d4f tmpwatch-2.9.14.tar.bz2
|
||||
41ffc6789ffdbf0e35da1ffb655276d1 tmpwatch-2.9.15.tar.bz2
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
Summary: A utility for removing files based on when they were last accessed
|
||||
Name: tmpwatch
|
||||
Version: 2.9.14
|
||||
Version: 2.9.15
|
||||
Release: 1
|
||||
URL: https://fedorahosted.org/tmpwatch/
|
||||
Source0: https://fedorahosted.org/releases/t/m/tmpwatch/tmpwatch-%{version}.tar.bz2
|
||||
@ -28,6 +28,11 @@ make %{?_smp_mflags}
|
||||
rm -rf %{buildroot}
|
||||
make ROOT=%{buildroot} SBINDIR=%{_sbindir} MANDIR=%{_mandir} install
|
||||
|
||||
mkdir -p %{buildroot}%{_bindir}
|
||||
# The $(...) computes /usr/bin => ../../
|
||||
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
|
||||
chmod +x %{buildroot}/etc/cron.daily/tmpwatch
|
||||
@ -38,11 +43,17 @@ rm -rf %{buildroot}
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc ChangeLog NEWS README
|
||||
%{_bindir}/tmpwatch
|
||||
%{_sbindir}/tmpwatch
|
||||
%{_mandir}/man8/tmpwatch.8*
|
||||
%config(noreplace) /etc/cron.daily/tmpwatch
|
||||
|
||||
%changelog
|
||||
* Fri May 22 2009 Miloslav Trmač <mitr@redhat.com> - 2.9.15-1
|
||||
- Update to tmpwatch-2.9.15.
|
||||
- Add a symlink to %%{_bindir}.
|
||||
Resolves: #494239
|
||||
|
||||
* Mon Mar 23 2009 Miloslav Trmač <mitr@redhat.com> - 2.9.14-1
|
||||
- Update to tmpwatch-2.9.14.
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user