commit ffad379ca33a262445599545f33cb380180b9f3d
Author: Leigh Scott <leigh123linux(a)gmail.com>
Date: Tue Nov 8 11:53:31 2022 +0000
Change gcc to gcc-c++ requires
nvidia-open-kmod.spec | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/nvidia-open-kmod.spec b/nvidia-open-kmod.spec
index 8d53b94..4b10eda 100644
--- a/nvidia-open-kmod.spec
+++ b/nvidia-open-kmod.spec
@@ -26,7 +26,7 @@ ExclusiveArch: x86_64 aarch64 ppc64le
%global AkmodsBuildRequires %{_bindir}/kmodtool
BuildRequires: %{AkmodsBuildRequires}
-%{!?kernels:BuildRequires: gcc, elfutils-libelf-devel,
buildsys-build-rpmfusion-kerneldevpkgs-%{?buildforkernels:%{buildforkernels}}%{!?buildforkernels:current}-%{_target_cpu}
}
+%{!?kernels:BuildRequires: gcc-c++, 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} %{?buildforkernels:--%{buildforkernels}} %{?kernels:--for-kernels
"%{?kernels}"} 2>/dev/null) }