commit 2c8443537b3bfb9141723422b605d4480bd5b144
Author: Sérgio M. Basto <sergio(a)serjux.com>
Date: Fri Aug 2 19:50:36 2024 +0100
Fix error: %patchN is obsolete
ndiswrapper-kmod.spec | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/ndiswrapper-kmod.spec b/ndiswrapper-kmod.spec
index 9eafa7f..33b99a0 100644
--- a/ndiswrapper-kmod.spec
+++ b/ndiswrapper-kmod.spec
@@ -46,11 +46,11 @@ kmodtool --target %{_target_cpu} --repo rpmfusion --kmodname %{name}
--filterfi
# go
%setup -q -c -T -a 0 -n %{name}-%{version}%{?pre}
(cd ndiswrapper-%{version}%{?pre} ;
-%patch0 -p1 -b .orig
-%patch1 -p1 -b .orig
-%patch2 -p1 -b .orig
-%patch3 -p1 -b .orig2
-%patch4 -p1 -b .pseed
+%patch -P0 -p1 -b .orig
+%patch -P1 -p1 -b .orig
+%patch -P2 -p1 -b .orig
+%patch -P3 -p1 -b .orig2
+%patch -P4 -p1 -b .pseed
)
sed -i 's|/sbin/depmod -a|/bin/true|'
ndiswrapper-%{version}%{?pre}/driver/Makefile
for kernel_version in %{?kernel_versions} ; do