From 25f45f7d0b2bac110bd1a3363d4effb968b6a3deb0c16e46c392d4ab106a4226 Mon Sep 17 00:00:00 2001 From: Jeff Kowalczyk Date: Sat, 17 Feb 2024 14:42:48 +0000 Subject: [PATCH] Accepting request 1147331 from home:jfkw:branches:devel:languages:go - Packaging improvements: * boo#1219988 ensure VERSION file is present in GOROOT as required by go tool dist and go tool distpack OBS-URL: https://build.opensuse.org/request/show/1147331 OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/go1.20?expand=0&rev=44 --- go1.20.changes | 7 +++++++ go1.20.spec | 2 ++ 2 files changed, 9 insertions(+) diff --git a/go1.20.changes b/go1.20.changes index dc1710c..92ea1d7 100644 --- a/go1.20.changes +++ b/go1.20.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Tue Feb 6 22:28:04 UTC 2024 - Jeff Kowalczyk + +- 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 diff --git a/go1.20.spec b/go1.20.spec index 99772c9..121a7c7 100644 --- a/go1.20.spec +++ b/go1.20.spec @@ -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