From 5c4f313cc393dd5ada0b60970ad8b4133d2a3d84 Mon Sep 17 00:00:00 2001 From: Debarshi Ray Date: Tue, 26 Mar 2024 01:15:35 +0100 Subject: [PATCH] Specify the golang versions for RHEL 9 and 10 Resolves: RHEL-30245 --- toolbox.spec | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/toolbox.spec b/toolbox.spec index cd2e2ec..82deef4 100644 --- a/toolbox.spec +++ b/toolbox.spec @@ -23,7 +23,15 @@ Version: 0.0.99.5 %global toolbx_go 1.22 %endif -Release: 9%{?dist} +%if 0%{?rhel} +%if 0%{?rhel} == 9 +%global toolbx_go 1.21.7 +%elif 0%{?rhel} == 10 +%global toolbx_go 1.21.3 +%endif +%endif + +Release: 10%{?dist} Summary: Tool for interactive command line environments on Linux License: Apache-2.0 @@ -196,6 +204,10 @@ install -m0644 %{SOURCE1} %{buildroot}%{_sysconfdir}/containers/%{name}.conf %changelog +* Tue Mar 26 2024 Debarshi Ray - 0.0.99.5-10 +- Specify the golang versions for RHEL 9 and 10 +Resolves: RHEL-30245 + * Tue Mar 05 2024 Debarshi Ray - 0.0.99.5-9 - Conditionalize the BuildRequires on golang Resolves: RHEL-30245