[packages/libmodulemd] fix apidocs condition when invoking meson

atler atler at pld-linux.org
Sat Jun 24 13:18:18 CEST 2023


commit 9d8cb39738a16ad80d94a6bbc6625a3aee48a5d7
Author: Jan Palus <atler at pld-linux.org>
Date:   Sat Jun 24 12:11:44 2023 +0200

    fix apidocs condition when invoking meson

 libmodulemd.spec | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
---
diff --git a/libmodulemd.spec b/libmodulemd.spec
index 8a19763..3ca3fd5 100644
--- a/libmodulemd.spec
+++ b/libmodulemd.spec
@@ -121,10 +121,8 @@ Prosty walidator YAML-a modulemd.
 
 %build
 %meson build \
-%if %{with doc}
-	-Dwith_docs=true \
+	-Dwith_docs=%{__true_false apidocs} \
 	-Dglib_docpath=%{_gtkdocdir} \
-%endif
 	%{?with_python2:-Dwith_py2=true} \
 	%{!?with_python3:-Dwith_py2=false}
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libmodulemd.git/commitdiff/552472d9901c6ef5fd459114d9ec3303f572923a



More information about the pld-cvs-commit mailing list