From dd8f72ce6a155481c855dfb57c29612e974f546a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Thu, 12 Dec 2024 16:05:16 +0100 Subject: [PATCH] Sync from SUSE:ALP:Source:Standard:1.0 go1.22-openssl revision 7efb427704fd7fd62510fa24e9f03e91 --- go1.22-openssl.changes | 21 +++++++++++++++++++++ go1.22-openssl.spec | 4 ++-- 2 files changed, 23 insertions(+), 2 deletions(-) diff --git a/go1.22-openssl.changes b/go1.22-openssl.changes index efc126f..78f1b3f 100644 --- a/go1.22-openssl.changes +++ b/go1.22-openssl.changes @@ -1,3 +1,24 @@ +------------------------------------------------------------------- +Tue Dec 10 02:49:26 UTC 2024 - Jeff Kowalczyk + +- 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 + +- Enable loongarch64 builds + ------------------------------------------------------------------- Thu Nov 14 15:41:43 UTC 2024 - Jeff Kowalczyk diff --git a/go1.22-openssl.spec b/go1.22-openssl.spec index 5505a14..3db686d 100644 --- a/go1.22-openssl.spec +++ b/go1.22-openssl.spec @@ -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