From 7799cac7847e46d2f2e4f565f680b5a36e6ea872 Mon Sep 17 00:00:00 2001 From: Todd Zullinger Date: Sat, 5 Jun 2021 12:44:54 -0400 Subject: preserve timestamps when running install MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit We preserve timestamps when running COPYTREE. Do so when running INSTALL as well, to better respect the Packaging Guidelines¹. ¹ https://docs.fedoraproject.org/en-US/packaging-guidelines/#_timestamps --- cgit.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cgit.spec b/cgit.spec index 9574397..e64fbfe 100644 --- a/cgit.spec +++ b/cgit.spec @@ -148,6 +148,7 @@ CGIT_SCRIPT_PATH = %{scriptdir} CGIT_SCRIPT_NAME = cgit CGIT_DATA_PATH = %{cgitdata} COPYTREE = %{__cp} -rp +INSTALL = %{__install} -p docdir = %{docdir} filterdir = %{filterdir} prefix = %{_prefix} @@ -227,6 +228,7 @@ make test - explicitly disable expat, perl, python, and tcl/tk in git build - use %%{gpgverify} macro to verify tarball signature - use %%{build_cflags} and %%{build_ldflags} +- preserve timestamps when running install * Tue Jan 26 2021 Fedora Release Engineering - 1.2.3-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild -- cgit