From 9e4b66807c8b5e6e0660dfedcc03c6ab1f987350 Mon Sep 17 00:00:00 2001 From: Todd Zullinger Date: Sat, 5 Jun 2021 11:27:55 -0400 Subject: explicitly disable expat, perl, python, and tcl/tk in git build We don't want any of the git code which requires expat, perl, python, or tcl/tk to be built. Set the corresponding NO_* make variables. This ensures that even if git can find these tools in the buildroot, it won't use them. For example, we have perl in the buildroot because it's used in the test suite, but we don't want to build any of git's perl tools. If nothing else, this should slightly improve the build time. --- cgit.spec | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/cgit.spec b/cgit.spec index 584ff83..73fceb4 100644 --- a/cgit.spec +++ b/cgit.spec @@ -168,6 +168,10 @@ cat << \EOF | tee git/config.mak V = 1 CFLAGS = %{optflags} LDFLAGS = %{?__global_ldflags} +NO_EXPAT = 1 +NO_PERL = 1 +NO_PYTHON = 1 +NO_TCLTK = 1 EOF # remove env shebang's from filter scripts @@ -230,6 +234,7 @@ make test %changelog * Sat Jun 05 2021 Todd Zullinger - 1.2.3-5 - include output of cgit.conf and git/config.mak in build logs +- explicitly disable expat, perl, python, and tcl/tk in git build * Tue Jan 26 2021 Fedora Release Engineering - 1.2.3-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild -- cgit