From c86e52df37ec74957cdac19bdc878f56a0aeeb45 Mon Sep 17 00:00:00 2001 From: Todd Zullinger Date: Wed, 6 Jun 2018 23:03:59 -0400 Subject: [PATCH] Build git-subtree docs in %build We want to build all documentation in the %build phase rather than falling through to the %install phase and building it as a dependency of install-doc. --- git.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/git.spec b/git.spec index 89fbf2c..62e54c3 100644 --- a/git.spec +++ b/git.spec @@ -504,7 +504,7 @@ grep -rlZ '^use Git::LoadCPAN::' | xargs -r0 sed -i 's/Git::LoadCPAN:://g' %make_build -C contrib/diff-highlight/ -%make_build -C contrib/subtree/ +%make_build -C contrib/subtree/ all %{?with_docs:doc} # Fix shebang in a few places to silence rpmlint complaints # @@ -876,6 +876,7 @@ make test || ./print-failed-test-output %changelog * Wed Jun 06 2018 Todd Zullinger - Include git-contacts, SubmittingPatches suggests it to users +- Build git-subtree docs in %%build * Mon Jun 04 2018 Todd Zullinger - 2.18.0-0.1.rc1 - Update to 2.18.0-rc1