commit 86c3ee5fbf35dbd02a3633e5bf2aefb2c8da7b18
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Wed Jun 9 15:33:07 2021 +0200
Build akmod
ndiswrapper-kmod.spec | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/ndiswrapper-kmod.spec b/ndiswrapper-kmod.spec
index 91d1387..792270f 100644
--- a/ndiswrapper-kmod.spec
+++ b/ndiswrapper-kmod.spec
@@ -3,7 +3,9 @@
# "buildforkernels newest" macro for just that build; immediately after
# queuing that build enable the macro again for subsequent builds; that way
# a new akmod package will only get build when a new one is actually needed
-%if 0%{?fedora}
+# RHEL8 kernel doesn't have WEXT, so only build an akmod there
+# so that others kernel implementation can have ndiswrapper
+%if 0%{?fedora} || 0%{?rhel} > 7
%global buildforkernels akmod
%global debug_package %{nil}
%endif