Accepting request 1109611 from home:jfkw:branches:devel:languages:go

- go1.19.13 (released 2023-09-06) includes fixes to the go command,
  and the crypto/tls and net/http packages.
  Refs boo#1200441 go1.19 release tracking
  * go#61197 cmd/go: extended forwards compatibility for Go
  * go#61825 net/http: go 1.20.6 host validation breaks setting Host to a unix socket address
  * go#61968 crypto/tls: add GODEBUG to control max RSA key size

- Add missing directory pprof html asset directory to package.
  Refs boo#1215090
  * src/cmd/vendor/github.com/google/pprof/internal/driver/html/
    dir containing html assets is present in upstream Go
    distribution but missing from SUSE go1.x packages
  * Go programs importing runtime/pprof may fail with error:
    /usr/lib64/go/1.21/src/cmd/vendor/github.com/google/pprof/internal/driver/webhtml.go
    pattern html: no matching files found
  * Reformat adjacent commment in spec file

OBS-URL: https://build.opensuse.org/request/show/1109611
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/go1.19?expand=0&rev=42
This commit is contained in:
Jeff Kowalczyk 2023-09-07 21:25:30 +00:00 committed by Git OBS Bridge
parent a2217efbcd
commit d7635385e6
4 changed files with 34 additions and 11 deletions

BIN
go1.19.12.src.tar.gz (Stored with Git LFS)

Binary file not shown.

BIN
go1.19.13.src.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -1,3 +1,26 @@
-------------------------------------------------------------------
Wed Sep 6 15:08:50 UTC 2023 - Jeff Kowalczyk <jkowalczyk@suse.com>
- go1.19.13 (released 2023-09-06) includes fixes to the go command,
and the crypto/tls and net/http packages.
Refs boo#1200441 go1.19 release tracking
* go#61197 cmd/go: extended forwards compatibility for Go
* go#61825 net/http: go 1.20.6 host validation breaks setting Host to a unix socket address
* go#61968 crypto/tls: add GODEBUG to control max RSA key size
-------------------------------------------------------------------
Tue Sep 5 19:12:05 UTC 2023 - Jeff Kowalczyk <jkowalczyk@suse.com>
- Add missing directory pprof html asset directory to package.
Refs boo#1215090
* src/cmd/vendor/github.com/google/pprof/internal/driver/html/
dir containing html assets is present in upstream Go
distribution but missing from SUSE go1.x packages
* Go programs importing runtime/pprof may fail with error:
/usr/lib64/go/1.21/src/cmd/vendor/github.com/google/pprof/internal/driver/webhtml.go
pattern html: no matching files found
* Reformat adjacent commment in spec file
-------------------------------------------------------------------
Tue Aug 1 20:35:02 UTC 2023 - Jeff Kowalczyk <jkowalczyk@suse.com>

View File

@ -134,7 +134,7 @@
%endif
Name: go1.19
Version: 1.19.12
Version: 1.19.13
Release: 0
Summary: A compiled, garbage-collected, concurrent programming language
License: BSD-3-Clause
@ -348,14 +348,14 @@ 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}/\{\} \;
# # 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
# echo "PWD:" `pwd`
# echo "GOROOT:" $GOROOT
# mkdir -v -p $GOROOT/src/cmd/trace/static
# 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
install -d %{buildroot}%{_datadir}/go/%{go_label}/src/cmd/trace/static
install -Dm644 src/cmd/trace/static/* %{buildroot}%{_datadir}/go/%{go_label}/src/cmd/trace/static
# pprof viewer html templates are needed for import runtime/pprof
install -d %{buildroot}%{_datadir}/go/%{go_label}/src/cmd/vendor/github.com/google/pprof/internal/driver/html
install -Dm644 src/cmd/vendor/github.com/google/pprof/internal/driver/html/* %{buildroot}%{_datadir}/go/%{go_label}/src/cmd/vendor/github.com/google/pprof/internal/driver/html
mkdir -p $GOROOT/src
for i in $(ls %{buildroot}/usr/share/go/%{go_label}/src);do
@ -450,7 +450,7 @@ fi
%if %{with_shared}
%if 0%{?suse_version} > 1500
# openSUSE Tumbleweed
# ./go/1.20/pkg/linux_amd64_dynlink/libstd.so
# ./go/1.19/pkg/linux_amd64_dynlink/libstd.so
%exclude %{_libdir}/go/%{go_label}/pkg/linux_%{go_arch}_dynlink/libstd.so
%endif
%endif