Skip to content

Commit 749c2bc

Browse files
committed
Updating nvidia-container-toolkit to use the highest golang before 1.24
1 parent 99bb445 commit 749c2bc

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

SPECS/nvidia-container-toolkit/nvidia-container-toolkit.spec

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
Summary: NVIDIA container runtime hook
33
Name: nvidia-container-toolkit
44
Version: 1.17.4
5-
Release: 1%{?dist}
5+
Release: 2%{?dist}
66
License: ALS2.0
77
Vendor: Microsoft Corporation
88
Distribution: Azure Linux
@@ -28,7 +28,7 @@ Source0: %{name}-%{version}.tar.gz
2828
# See: https://reproducible-builds.org/docs/archives/
2929
# - For the value of "--mtime" use the date "2021-04-26 00:00Z" to simplify future updates.
3030
Source1: %{name}-%{version}-vendor.tar.gz
31-
BuildRequires: golang >= 1.20.7
31+
BuildRequires: golang < 1.24.0
3232
Obsoletes: nvidia-container-runtime <= 3.5.0-1, nvidia-container-runtime-hook <= 1.4.0-2
3333
Provides: nvidia-container-runtime
3434
Provides: nvidia-container-runtime-hook
@@ -88,6 +88,9 @@ rm -f %{_bindir}/nvidia-container-toolkit
8888
%{_bindir}/nvidia-cdi-hook
8989

9090
%changelog
91+
* Fri Mar 07 2025 Jon Slobodzian <[email protected]> - 1.17.4-2
92+
- Changing nvidia-container-toolkit to use latest golang before 1.24 as this will not compile without it.
93+
9194
* Thu Feb 13 2025 Mitch Zhu <[email protected]> - 1.17.4-1
9295
- Upgrade to v1.17.4 to resolve CVE-2025-23359
9396

0 commit comments

Comments
 (0)