Hello community, here is the log from the commit of package go for openSUSE:Factory checked in at 2020-07-21 15:43:27 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/go (Old) and /work/SRC/openSUSE:Factory/.go.new.3592 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "go" Tue Jul 21 15:43:27 2020 rev:97 rq:821470 version:1.14 Changes: -------- --- /work/SRC/openSUSE:Factory/go/go.changes 2019-08-27 10:12:33.535974843 +0200 +++ /work/SRC/openSUSE:Factory/.go.new.3592/go.changes 2020-07-21 15:45:57.443966834 +0200 @@ -1,0 +2,36 @@ +Tue Jun 30 17:15:40 UTC 2020 - Andreas Schwab <sch...@suse.de> + +- Enable for riscv64 + +------------------------------------------------------------------- +Sat Jun 6 09:45:55 UTC 2020 - Aleksa Sarai <asa...@suse.com> + +- Ensure 'Provides: golang(API) = %{api_version}' is consistent + to improve package resolution for common go dependency expressions + 'BuildRequires: golang(API) >= 1.x' and BuildRequires: go >= 1.x + OBS projects that contain go code often have prjconf entries + 'Prefer: go' which selects go metapackage over go1.x packages. + When go metapackage Provides: version is lower than go1.x versions, + 'Prefer: go' is not effective and build failures occur with errors + unresolvable: have choice for golang(API) >= 1.13: go1.13 go1.14 + Edits and changelog Jeff Kowalczyk <jkowalc...@suse.com> + Refs boo#1172608 + * Unify '{version'} and '{short_version}' as '{api_version}' for + 'Provides: golang(API) = %{api_version}' + * Use both 'BuildRequires: go%{api_version}' and 'Requires: go%{api_version}' + to trigger build errors if go1.x is unavailable + * Add aarch64 to supported systems for go-race via + %define tsan_arch x86_64 aarch64 + * Add tsan_arch x86_64 aarch64 for suse_version >= 1500 and + sle_version >= 150000, formerly conditional on suse_version >= 1315 + * Ensure %ifarch %{tsan_arch} always evaluates (nil does not work) + via dummy tsan_arch on systems where go-race is not supported + +------------------------------------------------------------------- +Fri Apr 17 03:00:35 UTC 2020 - Jeff Kowalczyk <jkowalc...@suse.com> + +- Update to current stable go1.14 + Refs boo#1164903 go1.14 release tracking + * Remove redundant Provides: go-doc=%{version} per rpmlint warning + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ go.spec ++++++ --- /var/tmp/diff_new_pack.NBbMku/_old 2020-07-21 15:45:59.003968763 +0200 +++ /var/tmp/diff_new_pack.NBbMku/_new 2020-07-21 15:45:59.003968763 +0200 @@ -16,30 +16,35 @@ # # nodebuginfo -# By default we don't include tsan. It's only supported on amd64. -%define tsan_arch x86_64 - -%if 0%{?suse_version} >= 1315 -%define short_version 1.12 +# NOTE: This logic must come from the latest go1.x package specfile. +# We only build go-race on supported systems. +%if 0%{suse_version} >= 1500 || 0%{?sle_version} >= 150000 +%define tsan_arch x86_64 aarch64 %else -%define short_version 1.11 +# Cannot use {nil} here (ifarch doesn't like it) so just make up a fake +# architecture that no build will ever match. +%define tsan_arch openSUSE_FAKE_ARCH %endif Name: go -Version: 1.12 +Version: 1.14 +# Version must always be a valid golang(API) version +%define api_version %{version} Release: 0 -BuildRoot: %{_tmppath}/%{name}-%{version}-build Summary: A compiled, garbage-collected, concurrent programming language License: BSD-3-Clause Group: Development/Languages/Other Url: http://golang.org Source: README Recommends: go-doc = %{version} -ExclusiveArch: %ix86 x86_64 %arm aarch64 ppc64 ppc64le s390x +ExclusiveArch: %ix86 x86_64 %arm aarch64 ppc64 ppc64le s390x riscv64 # We provide golang(API) so that projects can Prefer: go. Any project using Go # code with golang(API) BuildRequires should add Prefer: go. -Provides: golang(API) = %{short_version} -Requires: go%{short_version} +Provides: golang(API) = %{api_version} +# Make this both Requires and BuildRequires go1.x so that we get build errors +# if it is missing. +BuildRequires: go%{api_version} +Requires: go%{api_version} %description Go is an expressive, concurrent, garbage collected systems programming language @@ -53,8 +58,8 @@ License: BSD-3-Clause Group: Documentation/Other Requires: go = %{version} -Requires: go%{short_version}-doc -Provides: go-doc = %{version} +Supplements: go = %{version} +Requires: go%{api_version}-doc %description doc Go examples and documentation. @@ -69,7 +74,10 @@ Requires: go = %{version} Supplements: go = %{version} ExclusiveArch: %{tsan_arch} -Requires: go%{short_version}-race +# Make this both Requires and BuildRequires go1.x-race so that we get build +# errors if it is missing. +BuildRequires: go%{api_version}-race +Requires: go%{api_version}-race %description race Go runtime race detector libraries. Install this package if you wish to use the