[packages/libxml2] don't build python bindings when building without apidocs
atler
atler at pld-linux.org
Mon Dec 1 20:42:47 CET 2025
commit d859536b143bd9a32fa472c4e36481c4ae1d62dd
Author: Jan Palus <atler at pld-linux.org>
Date: Mon Dec 1 20:36:31 2025 +0100
don't build python bindings when building without apidocs
doxygen output is used during building python bindings
libxml2.spec | 4 ++++
1 file changed, 4 insertions(+)
---
diff --git a/libxml2.spec b/libxml2.spec
index f2ef503..d604ecb 100644
--- a/libxml2.spec
+++ b/libxml2.spec
@@ -10,6 +10,10 @@
%bcond_without zlib # zlib support
%bcond_without tests # "make check" call
+%if %{without apidocs}
+%undefine python3
+%endif
+
Summary: libXML library version 2
Summary(es.UTF-8): Biblioteca libXML version 2
Summary(pl.UTF-8): Biblioteka libXML wersja 2
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/libxml2.git/commitdiff/d859536b143bd9a32fa472c4e36481c4ae1d62dd
More information about the pld-cvs-commit
mailing list