From 233261d92f2e4f08a976884dbf736e98375c766f Mon Sep 17 00:00:00 2001 From: Jan Palus Date: Mon, 1 Jun 2020 21:00:35 +0200 Subject: [PATCH] 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 -- 2.43.0