Skip to content

Commit

Permalink
Update golang spec to include go env (#1171)
Browse files Browse the repository at this point in the history
  • Loading branch information
danbudris authored Sep 20, 2023
1 parent 2fea89e commit d37df4e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion projects/golang/go/1.21/rpmbuild/SPECS/golang.spec
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,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
Expand Down Expand Up @@ -516,6 +516,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
Expand Down

0 comments on commit d37df4e

Please sign in to comment.