commit e25249bb4784f5b590608201622546b8142dee50
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Tue Mar 10 10:30:28 2020 +0100
Fix build on f30 i686
nvidia-390xx-kmod.spec | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
---
diff --git a/nvidia-390xx-kmod.spec b/nvidia-390xx-kmod.spec
index 651e273..cd07250 100644
--- a/nvidia-390xx-kmod.spec
+++ b/nvidia-390xx-kmod.spec
@@ -12,7 +12,7 @@ Name: nvidia-390xx-kmod
Epoch: 3
Version: 390.132
# Taken over by kmodtool
-Release: 4%{?dist}
+Release: 4%{?dist}.1
Summary: NVIDIA 390xx display driver kernel module
Group: System Environment/Kernel
License: Redistributable, no modification permitted
@@ -51,7 +51,9 @@ tar --use-compress-program xz -xf
%{_datadir}/%{name}-%{version}/%{name}-%{versi
%patch0 -p1
%patch1 -p1
%patch2 -p1
+%ifarch x86_64
%patch3 -p1
+%endif
for kernel_version in %{?kernel_versions} ; do
cp -a kernel _kmod_build_${kernel_version%%___*}
@@ -79,6 +81,9 @@ done
%changelog
+* Tue Mar 10 2020 Nicolas Chauvet <kwizart(a)gmail.com> - 3:390.132-4.1
+- Conditionlize arched patches
+
* Tue Mar 10 2020 Nicolas Chauvet <kwizart(a)gmail.com> - 3:390.132-4
- Drop armv7hl build