]> git.pld-linux.org Git - packages/kmod.git/commitdiff
require kernel-module-build only with tests
authorJan Palus <atler@pld-linux.org>
Tue, 5 May 2020 20:01:50 +0000 (22:01 +0200)
committerJan Palus <atler@pld-linux.org>
Tue, 5 May 2020 20:01:50 +0000 (22:01 +0200)
kmod.spec

index 70301cd3b334cd6d72f3d05499c9d9111d297ae3..9a8ccf8b5026785e0b2b54256ab51e62a906c26d 100644 (file)
--- a/kmod.spec
+++ b/kmod.spec
@@ -26,7 +26,9 @@ URL:          https://git.kernel.org/pub/scm/utils/kernel/kmod/kmod.git
 BuildRequires: autoconf >= 2.64
 BuildRequires: automake >= 1:1.11
 BuildRequires: gtk-doc >= 1.14
+%if %{with tests}
 BuildRequires: kernel-module-build
+%endif
 BuildRequires: libtool >= 2:2.0
 %{?with_openssl:BuildRequires: openssl-devel >= 1.1.0}
 BuildRequires: pkgconfig
This page took 0.155084 seconds and 4 git commands to generate.