forked from rpms/nvidia-open-kmod
Drop metapackage and add more Provides for NVIDIA repository compatibility
This commit is contained in:
parent
b27e2a9dfa
commit
1dc22f7401
@ -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
|
||||
|
@ -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 <ngompa@almalinux.org> - 580.65.06-2
|
||||
- Drop metapackage and add more Provides for NVIDIA repository compatibility
|
||||
|
||||
* Mon Aug 04 2025 Neal Gompa <ngompa@almalinux.org> - 580.65.06-1
|
||||
- Update to 580.65.06
|
||||
- Add nvidia-open metapackage for driver+userspace installation
|
||||
|
Loading…
Reference in New Issue
Block a user