Skip to content

Commit eb81d4d

Browse files
authored
golang: include go.env in GOROOT (#8021)
Reference: golang/go#61928 Signed-off-by: Muhammad Falak R Wani <[email protected]>
1 parent 30f8a24 commit eb81d4d

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

SPECS/golang/golang.spec

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
Summary: Go
1717
Name: golang
1818
Version: 1.21.6
19-
Release: 1%{?dist}
19+
Release: 2%{?dist}
2020
License: BSD-3-Clause
2121
Vendor: Microsoft Corporation
2222
Distribution: Azure Linux
@@ -91,7 +91,7 @@ popd
9191
mkdir -p %{buildroot}%{_bindir}
9292
mkdir -p %{buildroot}%{goroot}
9393

94-
cp -R api bin doc lib pkg src misc VERSION %{buildroot}%{goroot}
94+
cp -R api bin doc lib pkg src misc VERSION go.env %{buildroot}%{goroot}
9595

9696
# remove the unnecessary zoneinfo file (Go will always use the system one first)
9797
rm -rfv %{buildroot}%{goroot}/lib/time
@@ -144,6 +144,9 @@ fi
144144
%{_bindir}/*
145145

146146
%changelog
147+
* Thu Feb 22 2024 Muhammad Falak <[email protected]> - 1.21.6-2
148+
- Include go.env file in GOROOT
149+
147150
* Wed Jan 24 2024 Davis Goodin <[email protected]> - 1.21.6-1
148151
- Bump version to 1.21.6-1
149152
- Switch from upstream Go to the Microsoft build of Go

0 commit comments

Comments
 (0)