commit 44989b9cb896acac8992def06835c7067bd4729c
Author: Leigh Scott <leigh123linux(a)googlemail.com>
Date: Sun Jun 16 11:21:01 2019 +0100
Fix x86_64, i686 and arm can remain broken
nvidia-390xx-kmod.spec | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/nvidia-390xx-kmod.spec b/nvidia-390xx-kmod.spec
index 5f59d5b..07897b5 100644
--- a/nvidia-390xx-kmod.spec
+++ b/nvidia-390xx-kmod.spec
@@ -45,7 +45,9 @@ tar --use-compress-program xz -xf
%{_datadir}/%{name}-%{version}/%{name}-%{versi
# patch loop
%patch0 -p1
%patch1 -p1
+%ifarch x86_64
%patch2 -p1
+%endif
for kernel_version in %{?kernel_versions} ; do
cp -a kernel _kmod_build_${kernel_version%%___*}