From d437e836048bc5eecc1fc1b111cfe74d70c5c67e Mon Sep 17 00:00:00 2001 From: Debarshi Ray Date: Thu, 9 Nov 2023 17:07:29 +0100 Subject: [PATCH] Clarify that %golang_arches_future are meant for RHEL 10 Since the RHEL conditional was only targeting RHEL 9, it wasn't clear whether it needed updating for RHEL 10. So, it's better to say that %golang_arches are for RHEL 9 and older, and %golang_arches_future are for Fedora and RHEL 10 onwards. This doesn't change any behaviour of the built artifacts, because the build is only shared with RHEL 9 onwards. Hence, a conditional checking for RHEL 9 is the same as one checking for RHEL 9 and older. There's no need to do a build just for this. --- toolbox.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/toolbox.spec b/toolbox.spec index 682fc3c..1647c43 100644 --- a/toolbox.spec +++ b/toolbox.spec @@ -5,7 +5,7 @@ Version: 0.0.99.4 %global goipath github.com/containers/%{name} -%if 0%{?rhel} == 9 +%if 0%{?rhel} <= 9 %gometa %else %gometa -f