[packages/cmake] fix build without doc

atler atler at pld-linux.org
Tue May 5 20:33:26 CEST 2020


commit 49e2a1c965e85c05583e0f4c0e73d4b6db99ccc4
Author: Jan Palus <atler at pld-linux.org>
Date:   Tue May 5 20:32:41 2020 +0200

    fix build without doc

 cmake.spec | 2 ++
 1 file changed, 2 insertions(+)
---
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)
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/cmake.git/commitdiff/49e2a1c965e85c05583e0f4c0e73d4b6db99ccc4



More information about the pld-cvs-commit mailing list