commit d3eb9036a76b20c3e603bc913e2a43dc1ddcd1a1
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Thu Oct 14 10:47:20 2021 +0200
Again
wireguard-kmod.spec | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/wireguard-kmod.spec b/wireguard-kmod.spec
index 0868ef4..89a428a 100644
--- a/wireguard-kmod.spec
+++ b/wireguard-kmod.spec
@@ -40,11 +40,13 @@ This package contains the kmod module for WireGuard.
kmodtool --target %{_target_cpu} --repo rpmfusion --kmodname %{name}
%{?buildforkernels:--%{buildforkernels}} %{?kernels:--for-kernels "%{?kernels}"}
2>/dev/null
%setup -q -c -T -a 0
+(cd wireguard-linux-compat-%{version}
+%patch0 -p1
+%patch1 -p1
+%patch2 -p1
+)
for kernel_version in %{?kernel_versions} ; do
- %patch0 -p1
- %patch1 -p1
- %patch2 -p1
cp -a wireguard-linux-compat-%{version} _kmod_build_${kernel_version%%___*}
done
Show replies by date