commit 7fbcc0b9849a17744c64d27295cb1b6218e0014a
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Thu Aug 3 17:23:00 2017 +0200
Add patch for rhel6
ndiswrapper-kmod.spec | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/ndiswrapper-kmod.spec b/ndiswrapper-kmod.spec
index 158ce19..5039453 100644
--- a/ndiswrapper-kmod.spec
+++ b/ndiswrapper-kmod.spec
@@ -19,6 +19,7 @@ Source0:
http://downloads.sf.net/ndiswrapper/ndiswrapper-%{version}%{?pre}.tar.
Source11: ndiswrapper-kmodtool-excludekernel-filterfile
Patch0: ndiswrapper-kmod-nomodinfo.patch
Patch1: ndiswrapper-1.61-rhel.patch
+Patch2: ndiswrapper-kmod-rhel6.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
# needed for plague to make sure it builds for i586 and i686
@@ -51,6 +52,7 @@ kmodtool --target %{_target_cpu} --repo rpmfusion --kmodname %{name}
--filterfi
(cd ndiswrapper-%{version}%{?pre} ;
%patch0 -p1 -b .orig
%patch1 -p1 -b .rhel
+%patch2 -p1 -b .rhel6
)
sed -i 's|/sbin/depmod -a|/bin/true|'
ndiswrapper-%{version}%{?pre}/driver/Makefile
for kernel_version in %{?kernel_versions} ; do