From 7aaa062abe7aea456ec4f5bcf7b0649d0a4827563d07314cb20aa2323510276e Mon Sep 17 00:00:00 2001 From: Stefan Dirsch Date: Fri, 5 Jul 2024 08:55:49 +0000 Subject: [PATCH] - make buildservice happy; all sources need to be mentioned as such in specfile OBS-URL: https://build.opensuse.org/package/show/X11:Drivers:Video:Redesign/nvidia-open-driver-G06-signed?expand=0&rev=105 --- nvidia-open-driver-G06-signed.changes | 6 ++++++ nvidia-open-driver-G06-signed.spec | 7 ++++++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/nvidia-open-driver-G06-signed.changes b/nvidia-open-driver-G06-signed.changes index 6e9afc6..f0d1560 100644 --- a/nvidia-open-driver-G06-signed.changes +++ b/nvidia-open-driver-G06-signed.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Jul 5 08:41:55 UTC 2024 - Stefan Dirsch + +- make buildservice happy; all sources need to be mentioned as such + in specfile + ------------------------------------------------------------------- Thu Jul 4 16:29:09 UTC 2024 - Egbert Eich diff --git a/nvidia-open-driver-G06-signed.spec b/nvidia-open-driver-G06-signed.spec index 3c5c143..fa8c79c 100644 --- a/nvidia-open-driver-G06-signed.spec +++ b/nvidia-open-driver-G06-signed.spec @@ -16,6 +16,8 @@ # +%define cuda_driver_version 555.42.02 + %global flavor @BUILD_FLAVOR@%{?nil} %if "%{flavor}" == "cuda" %if 0%{?suse_version} > 1600 @@ -39,7 +41,7 @@ ExclusiveArch: do_not_build %endif Name: nvidia-open-driver-G06-signed%{?with_cuda:-cuda} %if %{with cuda} -Version: 555.42.02 +Version: %{cuda_driver_version} %else Version: 550.90.07 %endif @@ -70,6 +72,9 @@ Source10: pci_ids-supported Source11: pesign-copy-sources Source12: pesign-spec-macros Source14: group-source-files.pl +Source15: pci_ids-supported-%{cuda_driver_version} +Source16: pci_ids-%{cuda_driver_version} +Source17: 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 Patch0: persistent-nvidia-id-string.patch BuildRequires: %{kernel_module_package_buildreqs} BuildRequires: fdupes