From: Jan Palus Date: Mon, 1 Jun 2020 19:00:35 +0000 (+0200) Subject: fix build without doc X-Git-Tag: auto/th/git-core-2.27.0-1~1 X-Git-Url: http://git.pld-linux.org/?p=packages%2Fgit-core.git;a=commitdiff_plain;h=233261d92f2e4f08a976884dbf736e98375c766f fix build without doc --- 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