Preserve timestamps when installing files

This commit is contained in:
Peter Vrabec 2007-02-09 10:06:13 +00:00
parent 66b91e3b21
commit f3614fa8fb

View File

@ -1,9 +1,9 @@
%define _bindir /bin %define _bindir /bin
Summary: A GNU archiving program Summary: A GNU archiving program
Name: cpio Name: cpio
Version: 2.6 Version: 2.6
Release: 25%{?dist} Release: 26%{?dist}
License: GPL License: GPL
Group: Applications/Archiving Group: Applications/Archiving
URL: http://www.gnu.org/software/cpio/ URL: http://www.gnu.org/software/cpio/
@ -65,8 +65,7 @@ make %{?_smp_mflags}
%install %install
rm -rf ${RPM_BUILD_ROOT} rm -rf ${RPM_BUILD_ROOT}
make DESTDIR=$RPM_BUILD_ROOT install make DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p" install
install -c -p -m 0644 %{SOURCE1} ${RPM_BUILD_ROOT}%{_mandir}/man1
rm $RPM_BUILD_ROOT/%{_mandir}/man1/mt.1* rm $RPM_BUILD_ROOT/%{_mandir}/man1/mt.1*
@ -94,6 +93,9 @@ fi
%{_infodir}/*.info* %{_infodir}/*.info*
%changelog %changelog
* Thu Feb 08 2007 Ruben Kerkhof <ruben@rubenkerkhof.com> 2.6.26
- Preserve timestamps when installing files
* Thu Feb 08 2007 Peter Vrabec <pvrabec@redhat.com> 2.6-25 * Thu Feb 08 2007 Peter Vrabec <pvrabec@redhat.com> 2.6-25
- set cpio bindir properly - set cpio bindir properly