Preserve timestamps during install

https://fedoraproject.org/wiki/Packaging:Guidelines#Timestamps
This commit is contained in:
David King 2015-07-21 08:37:10 +01:00
parent fdbcb29ab2
commit b7ad85c9c0

View File

@ -81,7 +81,7 @@ the functionality of the installed %{name} package.
make %{?_smp_mflags} make %{?_smp_mflags}
%install %install
make install DESTDIR=$RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
# stuff we don't want # stuff we don't want
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
@ -117,6 +117,7 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
%changelog %changelog
* Tue Jul 21 2015 David King <amigadave@amigadave.com> - 3.17.4-1 * Tue Jul 21 2015 David King <amigadave@amigadave.com> - 3.17.4-1
- Update to 3.17.4 - Update to 3.17.4
- Preserve timestamps during install
* Wed Jun 24 2015 David King <amigadave@amigadave.com> - 3.17.3-1 * Wed Jun 24 2015 David King <amigadave@amigadave.com> - 3.17.3-1
- Update to 3.17.3 - Update to 3.17.3