import golang-1.14.4-1.module+el8.3.0+7194+8f728120
This commit is contained in:
parent
f0c58850a3
commit
96493bbfc5
2
.gitignore
vendored
2
.gitignore
vendored
@ -1 +1 @@
|
|||||||
SOURCES/go-go-1.13.4-1-openssl-fips.tar.gz
|
SOURCES/go-go-1.14.4-1-openssl-fips.tar.gz
|
||||||
|
@ -1 +1 @@
|
|||||||
c9f2a53028d012c6db32a34a9345e08aba31a771 SOURCES/go-go-1.13.4-1-openssl-fips.tar.gz
|
c68072d707cf093fba93bc2d7cda172cd3749120 SOURCES/go-go-1.14.4-1-openssl-fips.tar.gz
|
||||||
|
@ -29,20 +29,20 @@
|
|||||||
# Define GOROOT macros
|
# Define GOROOT macros
|
||||||
%global goroot %{_prefix}/lib/%{name}
|
%global goroot %{_prefix}/lib/%{name}
|
||||||
%global gopath %{_datadir}/gocode
|
%global gopath %{_datadir}/gocode
|
||||||
%global golang_arches %{ix86} x86_64 aarch64 ppc64le s390x
|
%global golang_arches x86_64 aarch64 ppc64le s390x
|
||||||
%global golibdir %{_libdir}/%{name}
|
%global golibdir %{_libdir}/%{name}
|
||||||
|
|
||||||
# Golang build options.
|
# Golang build options.
|
||||||
|
|
||||||
# Build golang using external/internal(close to cgo disabled) linking.
|
# Build golang using external/internal(close to cgo disabled) linking.
|
||||||
%ifarch %{ix86} x86_64 ppc64le %{arm} aarch64 s390x
|
%ifarch x86_64 ppc64le %{arm} aarch64 s390x
|
||||||
%global external_linker 1
|
%global external_linker 1
|
||||||
%else
|
%else
|
||||||
%global external_linker 0
|
%global external_linker 0
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
# Build golang with cgo enabled/disabled(later equals more or less to internal linking).
|
# Build golang with cgo enabled/disabled(later equals more or less to internal linking).
|
||||||
%ifarch %{ix86} x86_64 ppc64le %{arm} aarch64 s390x
|
%ifarch x86_64 ppc64le %{arm} aarch64 s390x
|
||||||
%global cgo_enabled 1
|
%global cgo_enabled 1
|
||||||
%else
|
%else
|
||||||
%global cgo_enabled 0
|
%global cgo_enabled 0
|
||||||
@ -56,7 +56,7 @@
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
# Controls what ever we fail on failed tests
|
# Controls what ever we fail on failed tests
|
||||||
%ifarch %{ix86} x86_64 %{arm} aarch64 ppc64le
|
%ifarch x86_64 %{arm} aarch64 ppc64le
|
||||||
%global fail_on_tests 1
|
%global fail_on_tests 1
|
||||||
%else
|
%else
|
||||||
%global fail_on_tests 0
|
%global fail_on_tests 0
|
||||||
@ -79,9 +79,6 @@
|
|||||||
%ifarch x86_64
|
%ifarch x86_64
|
||||||
%global gohostarch amd64
|
%global gohostarch amd64
|
||||||
%endif
|
%endif
|
||||||
%ifarch %{ix86}
|
|
||||||
%global gohostarch 386
|
|
||||||
%endif
|
|
||||||
%ifarch %{arm}
|
%ifarch %{arm}
|
||||||
%global gohostarch arm
|
%global gohostarch arm
|
||||||
%endif
|
%endif
|
||||||
@ -98,13 +95,13 @@
|
|||||||
%global gohostarch s390x
|
%global gohostarch s390x
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%global go_api 1.13
|
%global go_api 1.14
|
||||||
%global go_version 1.13.4
|
%global go_version 1.14.4
|
||||||
%global pkg_release 1
|
%global pkg_release 1
|
||||||
|
|
||||||
Name: golang
|
Name: golang
|
||||||
Version: %{go_version}
|
Version: %{go_version}
|
||||||
Release: 2%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: The Go Programming Language
|
Summary: The Go Programming Language
|
||||||
# source tree includes several copies of Mark.Twain-Tom.Sawyer.txt under Public Domain
|
# source tree includes several copies of Mark.Twain-Tom.Sawyer.txt under Public Domain
|
||||||
License: BSD and Public Domain
|
License: BSD and Public Domain
|
||||||
@ -426,10 +423,6 @@ export GO_TEST_RUN=""
|
|||||||
|
|
||||||
%if %{fail_on_tests}
|
%if %{fail_on_tests}
|
||||||
|
|
||||||
# Limit number of test threads on i686 to avoid OOM failures.
|
|
||||||
%ifarch %{ix86}
|
|
||||||
export GOMAXPROCS=8
|
|
||||||
%endif
|
|
||||||
./run.bash --no-rebuild -v -v -v -k $GO_TEST_RUN
|
./run.bash --no-rebuild -v -v -v -k $GO_TEST_RUN
|
||||||
|
|
||||||
# Run tests with FIPS enabled.
|
# Run tests with FIPS enabled.
|
||||||
@ -505,6 +498,17 @@ cd ..
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Jun 25 2020 Alejandro Sáez <asm@redhat.com> - 1.14.4-1
|
||||||
|
- Rebase to 1.14.4
|
||||||
|
|
||||||
|
* Thu May 21 2020 Alejandro Sáez <asm@redhat.com> - 1.14.2-2
|
||||||
|
- Remove i686 references
|
||||||
|
- Related: rhbz#1752991
|
||||||
|
|
||||||
|
* Wed May 06 2020 Alejandro Sáez <asm@redhat.com> - 1.14.2-1
|
||||||
|
- Rebase to 1.14.2
|
||||||
|
- Related: rhbz#1820596
|
||||||
|
|
||||||
* Wed Nov 27 2019 Alejandro Sáez <asm@redhat.com> - 1.13.4-2
|
* Wed Nov 27 2019 Alejandro Sáez <asm@redhat.com> - 1.13.4-2
|
||||||
- Remove patches
|
- Remove patches
|
||||||
- Related: rhbz#1747150
|
- Related: rhbz#1747150
|
||||||
|
Loading…
Reference in New Issue
Block a user