summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTodd Zullinger <tmz@pobox.com>2018-06-16 22:07:53 -0400
committerTodd Zullinger <tmz@pobox.com>2018-06-16 23:24:22 -0400
commitbb6278bfc29068aa2d10c733d9b21c80487859c0 (patch)
tree946b33009b38bec3ee2b9b51cf330d3d015a247d
parente9d2470dd74cff5d7f017660d55800148c360b12 (diff)
downloadcgit_EL6-bb6278bfc29068aa2d10c733d9b21c80487859c0.tar.gz
avoid libcrypto.so requires
Enable the builtin BLK_SHA1 support in git to avoid the dependency on libcrypto.so. When cgit is updated to work with git >= 2.13.0 we can drop this, as the default SHA1 library was changed to DC_SHA1. The openssl-devel build dependency is still needed.
-rw-r--r--cgit.spec2
1 files changed, 2 insertions, 0 deletions
diff --git a/cgit.spec b/cgit.spec
index 6b4422b..54530a3 100644
--- a/cgit.spec
+++ b/cgit.spec
@@ -99,6 +99,7 @@ cat << \EOF > git/config.mak
V = 1
CFLAGS = %{optflags}
LDFLAGS = %{?__global_ldflags}
+BLK_SHA1 = YesPlease
EOF
# remove env shebang's from filter scripts
@@ -160,6 +161,7 @@ install -d -m0755 %{buildroot}%{cachedir}
- fix parallel make issues in docs
- simplify README.SELinux install
- use %%bcond_(with|without) to handle httpd-filesystem
+- avoid libcrypto.so requires
* Mon Jun 04 2018 Todd Zullinger <tmz@pobox.com>
- make config: drop redundant DESTDIR/INSTALL, add COPYTREE