[packages/kmod] - unified apidocs bcond name, explain why disabled by default
qboosh
qboosh at pld-linux.org
Sun May 9 18:23:24 CEST 2021
commit c230aa3a47fddef694894bb2d140861a11fb60ee
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sun May 9 18:25:25 2021 +0200
- unified apidocs bcond name, explain why disabled by default
kmod.spec | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/kmod.spec b/kmod.spec
index 71717d6..50b8c7e 100644
--- a/kmod.spec
+++ b/kmod.spec
@@ -8,7 +8,7 @@
%bcond_without openssl # OpenSSL support for PKCS7 signatures in modinfo
%bcond_without python2 # CPython 2.x module
%bcond_without python3 # CPython 3.x module
-%bcond_with docs # Docs
+%bcond_with apidocs # gtk-doc based API documentation (currently disabled by empty gtk-doc.make file)
%bcond_without tests # perform "make check" (init_module seems to require root for mkdir)
Summary: Linux kernel module handling
@@ -27,7 +27,7 @@ Patch1: %{name}-depmod.d-kver.patch
URL: https://git.kernel.org/pub/scm/utils/kernel/kmod/kmod.git
BuildRequires: autoconf >= 2.64
BuildRequires: automake >= 1:1.11
-%{?with_docs:BuildRequires: gtk-doc >= 1.14}
+%{?with_apidocs:BuildRequires: gtk-doc >= 1.14}
%if %{with tests}
BuildRequires: kernel-module-build
%endif
@@ -164,7 +164,7 @@ cd build
../%configure \
--disable-silent-rules \
--disable-test-modules \
- %{?with_docs:--enable-gtk-doc} \
+ %{?with_apidocs:--enable-gtk-doc} \
%{?with_python2:--enable-python} \
%{?with_openssl:--with-openssl} \
--with-rootlibdir=/%{_lib} \
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/kmod.git/commitdiff/c230aa3a47fddef694894bb2d140861a11fb60ee
More information about the pld-cvs-commit
mailing list