From 1dc22f7401393f4a86925e75ce37a932ab3c04a7 Mon Sep 17 00:00:00 2001 From: Neal Gompa Date: Mon, 4 Aug 2025 16:44:37 -0400 Subject: [PATCH] Drop metapackage and add more Provides for NVIDIA repository compatibility --- kmod-nvidia-open.spec.preamble | 1 + nvidia-open-kmod.spec | 28 +++++----------------------- 2 files changed, 6 insertions(+), 23 deletions(-) diff --git a/kmod-nvidia-open.spec.preamble b/kmod-nvidia-open.spec.preamble index 557d97d..898b43a 100644 --- a/kmod-nvidia-open.spec.preamble +++ b/kmod-nvidia-open.spec.preamble @@ -7,6 +7,7 @@ Conflicts: kmod-nvidia${dashvariant} # Declare ourselves as a provider of the nvidia kernel module Conflicts: nvidia-kmod Provides: nvidia-kmod = 3:%{version}-%{release} +Provides: kmod-nvidia-open${dashvariant} = 3:%{version}-%{release} # Require our parts of the stack Requires: nvidia-open-kmod = %{version}-%{release} # Install if negativo17 packaged userspace libraries are being installed diff --git a/nvidia-open-kmod.spec b/nvidia-open-kmod.spec index f418cea..933bf22 100644 --- a/nvidia-open-kmod.spec +++ b/nvidia-open-kmod.spec @@ -22,7 +22,7 @@ Name: %{kmodname}-kmod Version: 580.65.06 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Kernel module (kmod) for NVIDIA GPU hardware License: GPL-2.0-only and MIT @@ -71,28 +71,6 @@ and newer models of GPU hardware. %license COPYING %doc README.md -%dnl ---------------------------------------------------------------- - -%package -n %{kmodname} -Summary: NVIDIA Driver metapackage -Provides: %{kmodname} = 3:%{version}-%{release} -Requires: %{kmodname}-kmod = %{version}-%{release} -Requires: libnvidia-fbc = 3:%{version} -Requires: libnvidia-ml = 3:%{version} -Requires: nvidia-driver = 3:%{version} -Requires: nvidia-driver-cuda = 3:%{version} -Requires: nvidia-libXNVCtrl = 3:%{version} -BuildArch: noarch - -%description -n %{kmodname} -NVIDIA Driver meta-package, Open GPU kernel modules, latest version -Meta-package requesting all necessary packages related to the NVIDIA driver. - -%files -n %{kmodname} -# empty for metapackage - -%dnl ---------------------------------------------------------------- - %prep # let's make sure we don't publish unsigned builds, that would be bad @@ -107,6 +85,7 @@ for flavor in %{flavors_to_build}; do mv ../%{name}-%{version}-kmodbuild-$flavor . done + %build # This module is useless export NV_EXCLUDE_KERNEL_MODULES=nvidia-peermem @@ -133,6 +112,9 @@ done %changelog +* Mon Aug 04 2025 Neal Gompa - 580.65.06-2 +- Drop metapackage and add more Provides for NVIDIA repository compatibility + * Mon Aug 04 2025 Neal Gompa - 580.65.06-1 - Update to 580.65.06 - Add nvidia-open metapackage for driver+userspace installation