diff options
author | Todd Zullinger <tmz@pobox.com> | 2018-06-04 17:25:45 -0400 |
---|---|---|
committer | Todd Zullinger <tmz@pobox.com> | 2018-06-16 22:36:05 -0400 |
commit | e75beaad966916ee23cb00fe38736a36f36626e7 (patch) | |
tree | 95224ccbeaec4b2edd442ef978b2752c6ceb2c55 | |
parent | e433aeee122096cd30eaf6e8597534e1f334c6dd (diff) | |
download | cgit_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.spec | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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 |