Skip to content

Commit

Permalink
golang: include go.env in GOROOT (#8021)
Browse files Browse the repository at this point in the history
Reference: golang/go#61928
Signed-off-by: Muhammad Falak R Wani <falakreyaz@gmail.com>
  • Loading branch information
mfrw authored Feb 23, 2024
1 parent 30f8a24 commit eb81d4d
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions SPECS/golang/golang.spec
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -144,6 +144,9 @@ fi
%{_bindir}/*

%changelog
* Thu Feb 22 2024 Muhammad Falak <mwani@microsoft.com> - 1.21.6-2
- Include go.env file in GOROOT

* Wed Jan 24 2024 Davis Goodin <dagood@microsoft.com> - 1.21.6-1
- Bump version to 1.21.6-1
- Switch from upstream Go to the Microsoft build of Go
Expand Down

0 comments on commit eb81d4d

Please sign in to comment.