commit 2cd7d63ee403e2a1871374e4a70dedf1545987a8
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 882745c..af6b8c9 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