summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTodd Zullinger <tmz@pobox.com>2018-06-04 17:25:45 -0400
committerTodd Zullinger <tmz@pobox.com>2018-06-16 22:36:05 -0400
commite75beaad966916ee23cb00fe38736a36f36626e7 (patch)
tree95224ccbeaec4b2edd442ef978b2752c6ceb2c55
parente433aeee122096cd30eaf6e8597534e1f334c6dd (diff)
downloadcgit_EL6-e75beaad966916ee23cb00fe38736a36f36626e7.tar.gz
make config: drop redundant DESTDIR/INSTALL, add COPYTREE
The DESTDIR and INSTALL vars are already set by %make_install. Set COPYTREE to preserve timestamps when copying the filters during install.
-rw-r--r--cgit.spec6
1 files changed, 4 insertions, 2 deletions
diff --git a/cgit.spec b/cgit.spec
index 4c4c6c0..8210a44 100644
--- a/cgit.spec
+++ b/cgit.spec
@@ -74,12 +74,11 @@ cat << \EOF > cgit.conf
V = 1
CFLAGS = %{optflags}
LDFLAGS = %{?__global_ldflags}
-DESTDIR = %{buildroot}
-INSTALL = install -p
CACHE_ROOT = %{cachedir}
CGIT_SCRIPT_PATH = %{scriptdir}
CGIT_SCRIPT_NAME = cgit
CGIT_DATA_PATH = %{cgitdata}
+COPYTREE = %{__cp} -rp
docdir = %{docdir}
filterdir = %{filterdir}
prefix = %{_prefix}
@@ -153,6 +152,9 @@ install -d -m0755 %{buildroot}%{cachedir}
%changelog
+* Mon Jun 04 2018 Todd Zullinger <tmz@pobox.com>
+- make config: drop redundant DESTDIR/INSTALL, add COPYTREE
+
* Sun Feb 18 2018 Todd Zullinger <tmz@pobox.com> - 1.1-10
- Use https for source URLs
- Remove el5 conditionals