Fix missing go.env file

This commit is contained in:
Alejandro Sáez 2023-08-17 13:28:42 +02:00
parent aa53b9e68a
commit e1a400ab5f
1 changed files with 2 additions and 1 deletions

View File

@ -340,7 +340,7 @@ mkdir -p $RPM_BUILD_ROOT%{goroot}
# install everything into libdir (until symlink problems are fixed)
# https://code.google.com/p/go/issues/detail?id=5830
cp -apv api bin doc lib pkg src misc test VERSION \
cp -apv api bin doc lib pkg src misc test go.env VERSION \
$RPM_BUILD_ROOT%{goroot}
echo "== 2 =="
# bz1099206
@ -514,6 +514,7 @@ fi
%{_bindir}/gofmt
%{goroot}/bin/linux_%{gohostarch}/go
%{goroot}/bin/linux_%{gohostarch}/gofmt
%{goroot}/go.env
%if %{shared}
%files shared -f go-shared.list