commit 60bb4dac081684052ca79a552eb6f59eae6388c8
Author: leigh123linux <leigh123linux(a)googlemail.com>
Date: Fri May 4 12:29:21 2018 +0100
Drop other arch
nv-linux-arm.patch | 13 -------------
nv-linux-arm2.patch | 12 ------------
nvidia-kmod.spec | 6 +-----
3 files changed, 1 insertion(+), 30 deletions(-)
---
diff --git a/nvidia-kmod.spec b/nvidia-kmod.spec
index 36b18d5..927009b 100644
--- a/nvidia-kmod.spec
+++ b/nvidia-kmod.spec
@@ -17,11 +17,9 @@ License: Redistributable, no modification permitted
URL:
http://www.nvidia.com/
Source11: nvidia-kmodtool-excludekernel-filterfile
-Patch0: nv-linux-arm.patch
-Patch1: nv-linux-arm2.patch
# needed for plague to make sure it builds for i586 and i686
-ExclusiveArch: i686 x86_64 armv7hl
+ExclusiveArch: x86_64
# get the needed BuildRequires (in parts depending on what we build for)
%global AkmodsBuildRequires %{_bindir}/kmodtool, xorg-x11-drv-nvidia-kmodsrc >=
%{epoch}:%{version}
@@ -42,8 +40,6 @@ kmodtool --target %{_target_cpu} --repo rpmfusion --kmodname %{name}
--filterf
%setup -T -c
tar --use-compress-program xz -xf
%{_datadir}/%{name}-%{version}/%{name}-%{version}-%{_target_cpu}.tar.xz
# patch loop
-%patch0 -p1
-%patch1 -p1
for kernel_version in %{?kernel_versions} ; do
cp -a kernel _kmod_build_${kernel_version%%___*}