Compare commits
No commits in common. "a10s" and "a10" have entirely different histories.
@ -59,7 +59,7 @@ redhat_kmp_has_post_hooks 1
|
||||
%global kmodtool %{-s*}%{!-s:/usr/lib/rpm/redhat/kmodtool} \
|
||||
%global kmod_version %{-v*}%{!-v:%{version}} \
|
||||
%global kmod_release %{-r*}%{!-r:%{release}} \
|
||||
%global latest_kernel %({ rpm -q --qf '%%{VERSION}-%%{RELEASE}.%%{ARCH}\\\\n' `rpm -qa | grep -E "^kernel(-64k|-rt|-aarch64)?-devel" | /usr/lib/rpm/redhat/rpmsort -r | head -n 1`; echo '%%%%{nil}'; } | head -n 1) \
|
||||
%global latest_kernel %({ rpm -q --qf '%%{VERSION}-%%{RELEASE}.%%{ARCH}\\\\n' `rpm -qa | egrep "^kernel(-64k|-rt|-aarch64)?-devel" | /usr/lib/rpm/redhat/rpmsort -r | head -n 1`; echo '%%%%{nil}'; } | head -n 1) \
|
||||
%{!?kernel_version:%{expand:%%global kernel_version %{latest_kernel}}} \
|
||||
%global kverrel %(%{kmodtool} verrel %{?kernel_version} 2>/dev/null) \
|
||||
flavors="default" \
|
||||
|
@ -22,7 +22,7 @@
|
||||
|
||||
Name: %{kmodname}-kmod
|
||||
Version: 570.153.02
|
||||
Release: 2%{?dist}
|
||||
Release: 1%{?dist}
|
||||
Summary: Kernel module (kmod) for NVIDIA GPU hardware
|
||||
|
||||
License: GPL-2.0-only and MIT
|
||||
@ -46,7 +46,7 @@ BuildRequires: kernel-rpm-macros
|
||||
# kmod dependencies
|
||||
BuildRequires: %kernel_module_package_buildreqs
|
||||
%{?kernel_extra_flavor_devel_packages:BuildRequires: %kernel_extra_flavor_devel_packages}
|
||||
BuildRequires: %{_bindir}/envsubst
|
||||
BuildRequires: gettext-envsubst
|
||||
BuildRequires: gcc
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: make
|
||||
@ -108,10 +108,6 @@ done
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri May 30 2025 Jonathan Wright <jonathan@almalinux.org> - 570.153.02-2
|
||||
- Update BR envsubst for EL9 compatibility
|
||||
- Replace "egrep" with "grep -E" in build macros
|
||||
|
||||
* Mon May 26 2025 Neal Gompa <ngompa@almalinux.org> - 570.153.02-1
|
||||
- Initial package
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user