[packages/git-core] fix build without doc

atler atler at pld-linux.org
Mon Jun 1 21:18:17 CEST 2020


commit 233261d92f2e4f08a976884dbf736e98375c766f
Author: Jan Palus <atler at pld-linux.org>
Date:   Mon Jun 1 21:00:35 2020 +0200

    fix build without doc

 git-core.spec | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/git-core.spec b/git-core.spec
index 4b92418..c5e6aa2 100644
--- a/git-core.spec
+++ b/git-core.spec
@@ -907,7 +907,7 @@ fi
 %{perl_vendorlib}/Git/LoadCPAN/Error.pm
 %dir %{perl_vendorlib}/Git/LoadCPAN/Mail
 %{perl_vendorlib}/Git/LoadCPAN/Mail/Address.pm
-%{_mandir}/man3/Git.3pm*
+%{?with_doc:%{_mandir}/man3/Git.3pm*}
 
 %if %{with gnome_keyring}
 %files -n gnome-keyring-git-core
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/git-core.git/commitdiff/f07f1df6d34e622c6b933b517714ac5fad7f350c



More information about the pld-cvs-commit mailing list