Skip to content

Commit c24b4f1

Browse files
committed
fix: make sure go.env gets added to the rpm
1 parent 577c55c commit c24b4f1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

SPECS/1.21/golang.spec

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ mkdir -p $RPM_BUILD_ROOT%{goroot}
331331

332332
# install everything into libdir (until symlink problems are fixed)
333333
# https://code.google.com/p/go/issues/detail?id=5830
334-
cp -apv api bin doc lib pkg src misc test VERSION \
334+
cp -apv api bin doc lib pkg src misc test go.env VERSION \
335335
$RPM_BUILD_ROOT%{goroot}
336336
echo "== 2 =="
337337
# bz1099206
@@ -492,6 +492,7 @@ fi
492492

493493
# go files
494494
%dir %{goroot}
495+
%{goroot}/go.env
495496
%{goroot}/api/
496497
%{goroot}/lib/time/
497498

0 commit comments

Comments
 (0)