commit 2bf2a6cf34af66e7b821ac948b04fb9c6a3bf491
Author: Leigh Scott <leigh123linux(a)googlemail.com>
Date: Mon May 20 13:11:39 2019 +0100
Build kernel kmod package for el8
nvidia-kmod.spec | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/nvidia-kmod.spec b/nvidia-kmod.spec
index eebeaf4..c3032bd 100644
--- a/nvidia-kmod.spec
+++ b/nvidia-kmod.spec
@@ -3,8 +3,10 @@
# "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}
%global buildforkernels akmod
%global debug_package %{nil}
+%endif
Name: nvidia-kmod
Epoch: 3