Unify the build with Fedora and RHEL 10
There's no need to do a build just for this. Resolves: RHEL-28393, RHEL-28485
This commit is contained in:
parent
1775a362de
commit
8712314fc1
16
toolbox.spec
16
toolbox.spec
@ -17,6 +17,20 @@ Version: 0.0.99.5
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%global toolbx_go 1.20
|
||||
|
||||
%if 0%{?fedora}
|
||||
%global toolbx_go 1.22
|
||||
%endif
|
||||
|
||||
%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: 2%{?dist}
|
||||
Summary: Tool for interactive command line environments on Linux
|
||||
|
||||
@ -38,7 +52,7 @@ Patch202: toolbox-Add-migration-paths-for-coreos-toolbox-users.patch
|
||||
|
||||
BuildRequires: gcc
|
||||
BuildRequires: go-md2man
|
||||
BuildRequires: golang >= 1.21.7
|
||||
BuildRequires: golang >= %{toolbx_go}
|
||||
BuildRequires: meson >= 0.58.0
|
||||
BuildRequires: pkgconfig(bash-completion)
|
||||
BuildRequires: shadow-utils-subid-devel
|
||||
|
Loading…
Reference in New Issue
Block a user