Sync from SUSE:ALP:Source:Standard:1.0 go1.22-openssl revision 7efb427704fd7fd62510fa24e9f03e91

This commit is contained in:
Adrian Schröter 2024-12-12 16:05:16 +01:00
parent 0cfdec1094
commit dd8f72ce6a
2 changed files with 23 additions and 2 deletions

View File

@ -1,3 +1,24 @@
-------------------------------------------------------------------
Tue Dec 10 02:49:26 UTC 2024 - Jeff Kowalczyk <jkowalczyk@suse.com>
- Write three digit version to file VERSION which sets go env
GOVERSION. Fixes bsc#1233306.
* Go toolchain file VERSION sets the immutable value for
go env GOVERSION
* go1.x-openssl toolchains have used a bespoke fourth digit to
represent the upstream patch set release number,
e.g. go1.22.9-1-openssl-fips. This digit has not been needed.
* Some Go applications including helm break when this fourth
digit is present in VERSION, with error:
go.mod requires go >= 1.22.0 (running go 1.22; GOTOOLCHAIN=local)
* Keep the fourth digit in the packaging for now, it will be
dropped in the next toolchain version update.
-------------------------------------------------------------------
Thu Dec 5 08:01:10 UTC 2024 - Adrian Schröter <adrian@suse.de>
- Enable loongarch64 builds
-------------------------------------------------------------------
Thu Nov 14 15:41:43 UTC 2024 - Jeff Kowalczyk <jkowalczyk@suse.com>

View File

@ -172,7 +172,7 @@ Obsoletes: go-devel < go%{version}
# go-vim/emacs were separate projects starting from 1.4
Obsoletes: go-emacs <= 1.3.3
Obsoletes: go-vim <= 1.3.3
ExclusiveArch: %ix86 x86_64 %arm aarch64 ppc64 ppc64le s390x riscv64
ExclusiveArch: %ix86 x86_64 %arm aarch64 ppc64 ppc64le s390x riscv64 loongarch64
%description
Go is an expressive, concurrent, garbage collected systems programming language
@ -221,7 +221,7 @@ Go runtime race detector libraries. Install this package if you wish to use the
%setup -q -n go
# Write go version into VERSION file in go source top level directory.
# Needed for go build scripts to operate without assuming .git/ present.
echo -n "go%{version}" > %{_builddir}/go/VERSION
echo -n "go%{shortversion}" > %{_builddir}/go/VERSION
%patch -P 7 -p1
%if %{with gccgo}
# Currently gcc-go does not manage an update-alternatives entry and will