golang change requirements

Signed-off-by: basebuilder_pel7ppc64lebuilder0 <basebuilder@powerel.org>
master
basebuilder_pel7ppc64lebuilder0 2021-09-23 12:10:47 +02:00
parent f0230549a3
commit 2db02ba81f
1 changed files with 4 additions and 7 deletions

View File

@ -74,7 +74,7 @@
%endif

# Pre build std lib with -race enabled
%ifarch x86_64
%ifarch x86_64 ppc64le
%global race 1
%else
%global race 0
@ -105,7 +105,7 @@
%global gohostarch s390x
%endif

%global go_api 1.17
%global go_api 1.17.1
%global go_version %{go_api}

# For rpmdev-bumpspec and releng automation
@ -248,11 +248,8 @@ Requires(preun): %{_sbindir}/update-alternatives
# This is an odd issue, still looking for a better fix.
Requires: glibc
Requires: gcc
%if 0%{?rhel} && 0%{?rhel} < 8
Requires: git, subversion, mercurial
%else
Recommends: git, subversion, mercurial
%endif
Requires: git
#Requires: subversion, mercurial
%description bin
%{summary}