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
|
# Declare ourselves as a provider of the nvidia kernel module
|
||||||
Conflicts: nvidia-kmod
|
Conflicts: nvidia-kmod
|
||||||
Provides: nvidia-kmod = 3:%{version}-%{release}
|
Provides: nvidia-kmod = 3:%{version}-%{release}
|
||||||
|
Provides: kmod-nvidia-open${dashvariant} = 3:%{version}-%{release}
|
||||||
# Require our parts of the stack
|
# Require our parts of the stack
|
||||||
Requires: nvidia-open-kmod = %{version}-%{release}
|
Requires: nvidia-open-kmod = %{version}-%{release}
|
||||||
# Install if negativo17 packaged userspace libraries are being installed
|
# Install if negativo17 packaged userspace libraries are being installed
|
||||||
|
@ -22,7 +22,7 @@
|
|||||||
|
|
||||||
Name: %{kmodname}-kmod
|
Name: %{kmodname}-kmod
|
||||||
Version: 580.65.06
|
Version: 580.65.06
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: Kernel module (kmod) for NVIDIA GPU hardware
|
Summary: Kernel module (kmod) for NVIDIA GPU hardware
|
||||||
|
|
||||||
License: GPL-2.0-only and MIT
|
License: GPL-2.0-only and MIT
|
||||||
@ -71,28 +71,6 @@ and newer models of GPU hardware.
|
|||||||
%license COPYING
|
%license COPYING
|
||||||
%doc README.md
|
%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
|
%prep
|
||||||
# let's make sure we don't publish unsigned builds, that would be bad
|
# 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 .
|
mv ../%{name}-%{version}-kmodbuild-$flavor .
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
# This module is useless
|
# This module is useless
|
||||||
export NV_EXCLUDE_KERNEL_MODULES=nvidia-peermem
|
export NV_EXCLUDE_KERNEL_MODULES=nvidia-peermem
|
||||||
@ -133,6 +112,9 @@ done
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%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
|
* Mon Aug 04 2025 Neal Gompa <ngompa@almalinux.org> - 580.65.06-1
|
||||||
- Update to 580.65.06
|
- Update to 580.65.06
|
||||||
- Add nvidia-open metapackage for driver+userspace installation
|
- Add nvidia-open metapackage for driver+userspace installation
|
||||||
|
Loading…
Reference in New Issue
Block a user