Preserve timestamps during install

https://fedoraproject.org/wiki/Packaging:Guidelines#Timestamps
This commit is contained in:
David King 2015-02-26 14:04:16 +00:00
parent 2f11c2341d
commit 4710089e61

View File

@ -63,7 +63,7 @@ sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0 /g' libtool
make %{?_smp_mflags}
%install
make install DESTDIR=$RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
rm $RPM_BUILD_ROOT%{_libdir}/security/*.la
rm $RPM_BUILD_ROOT%{_libdir}/pkcs11/*.la
@ -112,6 +112,7 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas >&/dev/null || :
- Update URL
- Use pkgconfig for BuildRequires
- Use license macro for COPYING and COPYING.LIB
- Preserve timestamps during install
* Sat Feb 21 2015 Till Maas <opensource@till.name> - 3.14.0-2
- Rebuilt for Fedora 23 Change