commit 55433dc46ea7cd7d095741a7ef7357c589e618c9
Author: Leigh Scott <leigh123linux(a)googlemail.com>
Date: Tue May 21 09:18:39 2019 +0100
Add BuildRequires needed for current build
nvidia-kmod.spec | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/nvidia-kmod.spec b/nvidia-kmod.spec
index c3032bd..9812dd0 100644
--- a/nvidia-kmod.spec
+++ b/nvidia-kmod.spec
@@ -12,7 +12,7 @@ Name: nvidia-kmod
Epoch: 3
Version: 430.14
# Taken over by kmodtool
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: NVIDIA display driver kernel module
License: Redistributable, no modification permitted
URL:
http://www.nvidia.com/
@@ -26,7 +26,7 @@ ExclusiveArch: x86_64
%global AkmodsBuildRequires %{_bindir}/kmodtool, xorg-x11-drv-nvidia-kmodsrc >=
%{epoch}:%{version}-1
BuildRequires: %{AkmodsBuildRequires}
-%{!?kernels:BuildRequires:
buildsys-build-rpmfusion-kerneldevpkgs-%{?buildforkernels:%{buildforkernels}}%{!?buildforkernels:current}-%{_target_cpu}
}
+%{!?kernels:BuildRequires: gcc, elfutils-libelf-devel,
buildsys-build-rpmfusion-kerneldevpkgs-%{?buildforkernels:%{buildforkernels}}%{!?buildforkernels:current}-%{_target_cpu}
}
# kmodtool does its magic here
%{expand:%(kmodtool --target %{_target_cpu} --repo rpmfusion --kmodname %{name}
--filterfile %{SOURCE11} --obsolete-name nvidia-newest --obsolete-version
"%{?epoch}:%{version}-%{release}" %{?buildforkernels:--%{buildforkernels}}
%{?kernels:--for-kernels "%{?kernels}"} 2>/dev/null) }
@@ -68,6 +68,9 @@ done
%changelog
+* Tue May 21 2019 Leigh Scott <leigh123linux(a)googlemail.com> - 3:430.14-2
+- Add BuildRequires needed for current build
+
* Tue May 14 2019 Leigh Scott <leigh123linux(a)gmail.com> - 3:430.14-1
- Update to 430.14 release