From eb81d4d197e05e81a4bf3f510b330dbaf570385a Mon Sep 17 00:00:00 2001 From: Muhammad Falak R Wani Date: Fri, 23 Feb 2024 08:00:15 +0530 Subject: [PATCH] golang: include go.env in GOROOT (#8021) Reference: https://github.com/golang/go/issues/61928 Signed-off-by: Muhammad Falak R Wani --- SPECS/golang/golang.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/SPECS/golang/golang.spec b/SPECS/golang/golang.spec index 8c5c65c8551..2686cc8b2b4 100644 --- a/SPECS/golang/golang.spec +++ b/SPECS/golang/golang.spec @@ -16,7 +16,7 @@ Summary: Go Name: golang Version: 1.21.6 -Release: 1%{?dist} +Release: 2%{?dist} License: BSD-3-Clause Vendor: Microsoft Corporation Distribution: Azure Linux @@ -91,7 +91,7 @@ popd mkdir -p %{buildroot}%{_bindir} mkdir -p %{buildroot}%{goroot} -cp -R api bin doc lib pkg src misc VERSION %{buildroot}%{goroot} +cp -R api bin doc lib pkg src misc VERSION go.env %{buildroot}%{goroot} # remove the unnecessary zoneinfo file (Go will always use the system one first) rm -rfv %{buildroot}%{goroot}/lib/time @@ -144,6 +144,9 @@ fi %{_bindir}/* %changelog +* Thu Feb 22 2024 Muhammad Falak - 1.21.6-2 +- Include go.env file in GOROOT + * Wed Jan 24 2024 Davis Goodin - 1.21.6-1 - Bump version to 1.21.6-1 - Switch from upstream Go to the Microsoft build of Go