fixed latest change, which just resulted in building 550 also for the -cuda
flavor OBS-URL: https://build.opensuse.org/package/show/X11:Drivers:Video:Redesign/nvidia-open-driver-G06-signed?expand=0&rev=107
This commit is contained in:
parent
dcd7dae5b2
commit
cff5eeb893
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# spec file
|
# spec file for package nvidia-open-driver-G06-signed
|
||||||
#
|
#
|
||||||
# Copyright (c) 2024 SUSE LLC
|
# Copyright (c) 2024 SUSE LLC
|
||||||
#
|
#
|
||||||
@ -51,9 +51,16 @@ Summary: NVIDIA open kernel module driver for GeForce RTX 2000 series and
|
|||||||
License: GPL-2.0-only AND MIT
|
License: GPL-2.0-only AND MIT
|
||||||
Group: System/Kernel
|
Group: System/Kernel
|
||||||
URL: https://github.com/NVIDIA/open-gpu-kernel-modules/
|
URL: https://github.com/NVIDIA/open-gpu-kernel-modules/
|
||||||
|
%if %{with cuda}
|
||||||
|
Source0: 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
|
||||||
|
Source2: pci_ids-supported-%{cuda_driver_version}
|
||||||
|
Source9: pci_ids-%{cuda_driver_version}
|
||||||
|
%else
|
||||||
Source0: https://github.com/NVIDIA/open-gpu-kernel-modules/archive/refs/tags/%{version}.tar.gz#/open-gpu-kernel-modules-%{version}.tar.gz
|
Source0: https://github.com/NVIDIA/open-gpu-kernel-modules/archive/refs/tags/%{version}.tar.gz#/open-gpu-kernel-modules-%{version}.tar.gz
|
||||||
Source1: my-find-supplements
|
|
||||||
Source2: pci_ids-%{version}
|
Source2: pci_ids-%{version}
|
||||||
|
Source9: pci_ids-supported-%{version}
|
||||||
|
%endif
|
||||||
|
Source1: my-find-supplements
|
||||||
Source3: kmp-filelist
|
Source3: kmp-filelist
|
||||||
Source4: kmp-post.sh
|
Source4: kmp-post.sh
|
||||||
Source5: kmp-postun.sh
|
Source5: kmp-postun.sh
|
||||||
@ -67,14 +74,10 @@ Source8: json-to-pci-id-list.py
|
|||||||
# sh tmp/cuda_$CUDA_VER_$DRIVER_VER_linux.run --extract=$(pwd)/tmp
|
# sh tmp/cuda_$CUDA_VER_$DRIVER_VER_linux.run --extract=$(pwd)/tmp
|
||||||
# sh tmp/NVIDIA-Linux-$ARCH-$DRIVER_VER.run -x
|
# sh tmp/NVIDIA-Linux-$ARCH-$DRIVER_VER.run -x
|
||||||
# ./json-to-pci-id-list.py --skiplegacy --kernelopen tmp/NVIDIA-Linux-$ARCH-$DRIVER_VER/supported-gpus/supported-gpus.json pci_ids-supported-$DRIVER_VER
|
# ./json-to-pci-id-list.py --skiplegacy --kernelopen tmp/NVIDIA-Linux-$ARCH-$DRIVER_VER/supported-gpus/supported-gpus.json pci_ids-supported-$DRIVER_VER
|
||||||
Source9: pci_ids-supported-%{version}
|
|
||||||
Source10: pci_ids-supported
|
Source10: pci_ids-supported
|
||||||
Source11: pesign-copy-sources
|
Source11: pesign-copy-sources
|
||||||
Source12: pesign-spec-macros
|
Source12: pesign-spec-macros
|
||||||
Source14: group-source-files.pl
|
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
|
Patch0: persistent-nvidia-id-string.patch
|
||||||
BuildRequires: %{kernel_module_package_buildreqs}
|
BuildRequires: %{kernel_module_package_buildreqs}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
|
Loading…
x
Reference in New Issue
Block a user