From f3614fa8fb0738b81545be0a31af328e82038e81 Mon Sep 17 00:00:00 2001 From: Peter Vrabec Date: Fri, 9 Feb 2007 10:06:13 +0000 Subject: [PATCH] Preserve timestamps when installing files --- cpio.spec | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/cpio.spec b/cpio.spec index 4d0259e..cf0dfbe 100644 --- a/cpio.spec +++ b/cpio.spec @@ -1,9 +1,9 @@ -%define _bindir /bin +%define _bindir /bin Summary: A GNU archiving program Name: cpio Version: 2.6 -Release: 25%{?dist} +Release: 26%{?dist} License: GPL Group: Applications/Archiving URL: http://www.gnu.org/software/cpio/ @@ -65,8 +65,7 @@ make %{?_smp_mflags} %install rm -rf ${RPM_BUILD_ROOT} -make DESTDIR=$RPM_BUILD_ROOT install -install -c -p -m 0644 %{SOURCE1} ${RPM_BUILD_ROOT}%{_mandir}/man1 +make DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p" install rm $RPM_BUILD_ROOT/%{_mandir}/man1/mt.1* @@ -94,6 +93,9 @@ fi %{_infodir}/*.info* %changelog +* Thu Feb 08 2007 Ruben Kerkhof 2.6.26 +- Preserve timestamps when installing files + * Thu Feb 08 2007 Peter Vrabec 2.6-25 - set cpio bindir properly