[dbus-glib] Preserve timestamps during install

David King amigadave at fedoraproject.org
Sat Feb 7 23:38:28 UTC 2015


commit 724a0180e0269e293cc507482730e3af62e5b9ce
Author: David King <amigadave at amigadave.com>
Date:   Sat Feb 7 23:20:54 2015 +0000

    Preserve timestamps during install
    
    https://fedoraproject.org/wiki/Packaging:Guidelines#Timestamps

 dbus-glib.spec |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/dbus-glib.spec b/dbus-glib.spec
index 601d3b5..499da36 100644
--- a/dbus-glib.spec
+++ b/dbus-glib.spec
@@ -47,7 +47,7 @@ Headers and static libraries for the D-Bus GLib bindings
 make %{?_smp_mflags}
 
 %install
-make install DESTDIR=$RPM_BUILD_ROOT
+make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
 
 rm -f $RPM_BUILD_ROOT%{_libdir}/*.a
 rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
@@ -82,6 +82,7 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
 - Use license for COPYING
 - Tighten subpackage dependencies with the isa macro
 - Tidy spec file
+- Preserve timestamps during install
 
 * Sat Aug 16 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.100.2-4
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild


More information about the scm-commits mailing list