- fix kernel BRs
authorJan Rękorajski <baggins@pld-linux.org>
Thu, 25 Feb 2021 20:44:31 +0000 (21:44 +0100)
committerJan Rękorajski <baggins@pld-linux.org>
Thu, 25 Feb 2021 20:44:31 +0000 (21:44 +0100)
linux-gpib.spec

index 51b6331847082cf18a0d64736a9ada20ce9e51f1..c8ceba5d2385a87afbfc1d7f61b203422d931766 100644 (file)
@@ -58,9 +58,7 @@ BuildRequires:        autoconf >= 2.50
 BuildRequires: automake
 BuildRequires: libtool
 BuildRequires: rpmbuild(macros) >= 1.745
-%if %{with kernel}
-BuildRequires: kernel-module-build >= 3:2.6.8
-%endif
+%{?with_kernel:%{expand:%buildrequires_kernel kernel%%{_alt_kernel}-module-build >= 3:2.6.32}}
 %if %{with userspace}
 BuildRequires: bison
 %{?with_doc:BuildRequires:     docbook-utils}
This page took 0.196412 seconds and 4 git commands to generate.