Accepting request 1147335 from devel:languages:go

- Packaging improvements:
  * boo#1219988 ensure VERSION file is present in GOROOT
    as required by go tool dist and go tool distpack (forwarded request 1147331 from jfkw)

OBS-URL: https://build.opensuse.org/request/show/1147335
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/go1.20?expand=0&rev=17
This commit is contained in:
Ana Guerrero 2024-02-18 19:22:59 +00:00 committed by Git OBS Bridge
commit 1ffc8a16f9
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Tue Feb 6 22:28:04 UTC 2024 - Jeff Kowalczyk <jkowalczyk@suse.com>
- Packaging improvements:
* boo#1219988 ensure VERSION file is present in GOROOT
as required by go tool dist and go tool distpack
-------------------------------------------------------------------
Tue Feb 6 18:22:28 UTC 2024 - Jeff Kowalczyk <jkowalczyk@suse.com>

View File

@ -353,6 +353,8 @@ for ext in *.{go,c,h,s,S,py,syso,bin}; do
done
# executable bash scripts called by go tool, etc
find src -name "*.bash" -exec install -Dm655 \{\} %{buildroot}%{_datadir}/go/%{go_label}/\{\} \;
# VERSION file referenced by go tool dist and go tool distpack
find . -name VERSION -exec install -Dm655 \{\} %{buildroot}%{_datadir}/go/%{go_label}/\{\} \;
# Trace viewer html and javascript files moved from misc/trace in
# previous versions to src/cmd/trace/static in go1.19.
# static contains pprof trace viewer html javascript and markdown