1
0
Stefan Dirsch 2024-07-05 09:52:32 +00:00 committed by Git OBS Bridge
parent 2970bc6d6e
commit 2be374529b

View File

@ -16,8 +16,6 @@
#
%define cuda_driver_version 555.42.02
%global flavor @BUILD_FLAVOR@%{?nil}
%if "%{flavor}" == "cuda"
%if 0%{?suse_version} > 1600
@ -41,7 +39,7 @@ ExclusiveArch: do_not_build
%endif
Name: nvidia-open-driver-G06-signed%{?with_cuda:-cuda}
%if %{with cuda}
Version: %{cuda_driver_version}
Version: 555.42.02
%else
Version: 550.90.07
%endif
@ -52,10 +50,10 @@ License: GPL-2.0-only AND MIT
Group: System/Kernel
URL: https://github.com/NVIDIA/open-gpu-kernel-modules/
%if %{with cuda}
# https://github.com/NVIDIA/open-gpu-kernel-modules/archive/refs/tags/%{cuda_driver_version}.tar.gz#/open-gpu-kernel-modules-%{cuda_driver_version}.tar.gz
Source0: open-gpu-kernel-modules-%{cuda_driver_version}.tar.gz
Source2: pci_ids-supported-%{cuda_driver_version}
Source9: pci_ids-%{cuda_driver_version}
# https://github.com/NVIDIA/open-gpu-kernel-modules/archive/refs/tags/555.42.02.tar.gz#/open-gpu-kernel-modules-555.42.02.tar.gz
Source0: open-gpu-kernel-modules-555.42.02.tar.gz
Source2: pci_ids-supported-555.42.02
Source9: pci_ids-555.42.02
%else
Source0: https://github.com/NVIDIA/open-gpu-kernel-modules/archive/refs/tags/%{version}.tar.gz#/open-gpu-kernel-modules-%{version}.tar.gz
Source2: pci_ids-%{version}