Browse Source

golang change requirements

Signed-off-by: basebuilder_pel7ppc64lebuilder0 <basebuilder@powerel.org>
master
basebuilder_pel7ppc64lebuilder0 3 years ago
parent
commit
2db02ba81f
  1. 11
      SPECS/golang.spec

11
SPECS/golang.spec

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


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


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


# For rpmdev-bumpspec and releng automation # 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. # This is an odd issue, still looking for a better fix.
Requires: glibc Requires: glibc
Requires: gcc Requires: gcc
%if 0%{?rhel} && 0%{?rhel} < 8 Requires: git
Requires: git, subversion, mercurial #Requires: subversion, mercurial
%else
Recommends: git, subversion, mercurial
%endif
%description bin %description bin
%{summary} %{summary}



Loading…
Cancel
Save