commit 9c76381b89a5768b451df701f4f6c0ca18d0af6c
Author: Leigh Scott <leigh123linux(a)googlemail.com>
Date: Sat Oct 19 11:57:07 2019 +0100
Add BuildRequires needed for current build
xtables-addons-kmod.spec | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/xtables-addons-kmod.spec b/xtables-addons-kmod.spec
index 22dedaa..f039f3e 100644
--- a/xtables-addons-kmod.spec
+++ b/xtables-addons-kmod.spec
@@ -19,7 +19,7 @@ Patch0: Add-Linux-5.2-crypto-desc-flags-compatibility-fix.patch
BuildRequires: %{_bindir}/kmodtool
-%{!?kernels:BuildRequires:
buildsys-build-rpmfusion-kerneldevpkgs-%{?buildforkernels:%{buildforkernels}}%{!?buildforkernels:current}-%{_target_cpu}
}
+%{!?kernels:BuildRequires: gcc, elfutils-libelf-devel,
buildsys-build-rpmfusion-kerneldevpkgs-%{?buildforkernels:%{buildforkernels}}%{!?buildforkernels:current}-%{_target_cpu}
}
# kmodtool does its magic here
%{expand:%(kmodtool --target %{_target_cpu} --repo rpmfusion --kmodname %{name}
%{?buildforkernels:--%{buildforkernels}} %{?kernels:--for-kernels "%{?kernels}"}
2>/dev/null) }