Include go.env in the root

Commit b3c52a9 (Set the baselines for AMD64 and PPC64LE, 2024-04-10)

When the baselines where added go.env was not included so the change was
not really applied. This should fix it.

Related: RHEL-32658
Related: RHEL-32660
Related: RHEL-34008
Related: RHEL-34236
This commit is contained in:
Alejandro Sáez 2024-04-30 17:11:37 +02:00 committed by Álex Sáez
parent 6cd70a81da
commit d4d71947ad

View File

@ -417,7 +417,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}
# bz1099206
@ -622,6 +622,7 @@ fi
%files bin -f go-pkg.list
%{_bindir}/go
%{_bindir}/gofmt
%{goroot}/go.env
%{goroot}/bin/linux_%{gohostarch}/go
%{goroot}/bin/linux_%{gohostarch}/gofmt