1
0

Accepting request 1186206 from X11:Drivers:Video:Redesign

OBS-URL: https://build.opensuse.org/request/show/1186206
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nvidia-open-driver-G06-signed?expand=0&rev=39
This commit is contained in:
Ana Guerrero 2024-07-08 17:09:24 +00:00 committed by Git OBS Bridge
commit 1c869411c2
2 changed files with 15 additions and 4 deletions

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Mon Jul 8 11:29:07 UTC 2024 - Egbert Eich <eich@suse.com>
- Use macro which is set during build but not when running
`osc service run download_files` to make sure both source versions
are visible for download. This way, only the correct source
tarball will be included in the source package of its respective
flavor but both can be downloaded (updated) simultaniously.
-------------------------------------------------------------------
Fri Jul 5 08:41:55 UTC 2024 - Stefan Dirsch <sndirsch@suse.com>

View File

@ -26,7 +26,6 @@ ExclusiveArch: do_not_build
%endif
%{bcond_without cuda}
%endif
%if %{undefined kernel_module_directory}
%if 0%{?suse_version} >= 1550
%define kernel_module_directory /usr/lib/modules
@ -53,8 +52,11 @@ License: GPL-2.0-only AND MIT
Group: System/Kernel
URL: https://github.com/NVIDIA/open-gpu-kernel-modules/
Source0: https://github.com/NVIDIA/open-gpu-kernel-modules/archive/refs/tags/%{version}.tar.gz#/open-gpu-kernel-modules-%{version}.tar.gz
%if %{with please_fix_factory_auto}
Source16: https://github.com/NVIDIA/open-gpu-kernel-modules/archive/refs/tags/%cuda_version}.tar.gz#/open-gpu-kernel-modules-%{cuda_version}.tar.gz
# This is defined at build, not for 'osc service run download_files` or
# factory_auto. This both sources are seen outside of the build but only
# the matching one will be included in the srpm for the respective flavor.
%if %{undefined linux_arch}
Source16: https://github.com/NVIDIA/open-gpu-kernel-modules/archive/refs/tags/%{cuda_version}.tar.gz#/open-gpu-kernel-modules-%{cuda_version}.tar.gz
Source17: pci_ids-supported-%{cuda_version}
Source18: pci_ids-%{cuda_version}
%endif