commit 5158aaf58bbc2cda0297e646249141e7a0094baa
Author: Leigh Scott <leigh123linux(a)googlemail.com>
Date: Sat Oct 19 12:07:30 2019 +0100
Add BuildRequires needed for current build
wireguard-kmod.spec | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
---
diff --git a/wireguard-kmod.spec b/wireguard-kmod.spec
index 57d28b4..ecf030f 100644
--- a/wireguard-kmod.spec
+++ b/wireguard-kmod.spec
@@ -13,8 +13,7 @@ URL:
https://www.wireguard.com/
Source0:
https://git.zx2c4.com/WireGuard/snapshot/WireGuard-%{version}.tar.xz
BuildRequires: kmodtool
-BuildRequires: elfutils-libelf-devel
-%{!?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) }