summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTodd Zullinger <tmz@pobox.com>2021-06-05 12:44:54 -0400
committerTodd Zullinger <tmz@pobox.com>2021-06-06 16:15:25 -0400
commit7799cac7847e46d2f2e4f565f680b5a36e6ea872 (patch)
tree742287cc001886512fea608501fd913a9c5ef935
parent416e5f4990c749bebd217b7ee4fc4e0a76df08a6 (diff)
downloadcgit_EL6-7799cac7847e46d2f2e4f565f680b5a36e6ea872.tar.gz
preserve timestamps when running install
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
-rw-r--r--cgit.spec2
1 files changed, 2 insertions, 0 deletions
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 <releng@fedoraproject.org> - 1.2.3-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild