commit bf0c495a98dcf37284987fa14a343a73d28b1276
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Tue Jun 8 16:36:24 2021 +0200
Revert "Update"
This reverts commit f08027c0e7c8eeb49649b3015b320c56be01d820.
wireguard-kmod.spec | 7 +------
1 file changed, 1 insertion(+), 6 deletions(-)
---
diff --git a/wireguard-kmod.spec b/wireguard-kmod.spec
index 0739dde..515347e 100644
--- a/wireguard-kmod.spec
+++ b/wireguard-kmod.spec
@@ -11,7 +11,6 @@ License: GPLv2
URL:
https://www.wireguard.com/
Source0:
https://git.zx2c4.com/wireguard-linux-compat/snapshot/wireguard-linux-com...
-Patch0: 0001-compat-icmp_ndo_send-functions-were-backported-exten.patch
BuildRequires: kmodtool
%{!?kernels:BuildRequires: gcc, elfutils-libelf-devel,
buildsys-build-rpmfusion-kerneldevpkgs-%{?buildforkernels:%{buildforkernels}}%{!?buildforkernels:current}-%{_target_cpu}
}
@@ -37,11 +36,7 @@ This package contains the kmod module for WireGuard.
# print kmodtool output for debugging purposes:
kmodtool --target %{_target_cpu} --repo rpmfusion --kmodname %{name}
%{?buildforkernels:--%{buildforkernels}} %{?kernels:--for-kernels "%{?kernels}"}
2>/dev/null
-%setup -q -c
-
-cd wireguard-linux-compat-%{version}
-%patch0 -p1
-cd -
+%autosetup -c -T -a 0 -p 0
for kernel_version in %{?kernel_versions} ; do
cp -a wireguard-linux-compat-%{version} _kmod_build_${kernel_version%%___*}