From: Jan Palus Date: Tue, 5 May 2020 18:32:41 +0000 (+0200) Subject: fix build without doc X-Git-Tag: auto/th/cmake-3.17.2-1~1 X-Git-Url: http://git.pld-linux.org/gitweb.cgi?a=commitdiff_plain;h=49e2a1c965e85c05583e0f4c0e73d4b6db99ccc4;p=packages%2Fcmake.git fix build without doc --- diff --git a/cmake.spec b/cmake.spec index 89a8760..c3accf5 100644 --- a/cmake.spec +++ b/cmake.spec @@ -227,8 +227,10 @@ rm -rf $RPM_BUILD_ROOT %{_desktopdir}/cmake-gui.desktop %{_iconsdir}/hicolor/128x128/apps/CMakeSetup.png %{_iconsdir}/hicolor/32x32/apps/CMakeSetup.png +%if %{with doc} %{_mandir}/man1/cmake-gui.1* %endif +%endif %files emacs %defattr(644,root,root,755)