Accepting request 833025 from home:Pharaoh_Atem:branches:devel:languages:go

- Add golang Provides for RH/Fedora compatibility

OBS-URL: https://build.opensuse.org/request/show/833025
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/go?expand=0&rev=335
This commit is contained in:
Jeff Kowalczyk 2022-02-01 22:26:51 +00:00 committed by Git OBS Bridge
parent 791f7a7eb9
commit 786c0e1de3
2 changed files with 11 additions and 0 deletions

View File

@ -16,6 +16,11 @@ Wed Feb 16 22:41:18 UTC 2021 - Jeff Kowalczyk <jkowalczyk@suse.com>
- Update to current stable go1.15
Refs boo#1175132 go1.15 release tracking
-------------------------------------------------------------------
Fri Aug 28 17:14:07 UTC 2020 - Neal Gompa <ngompa13@gmail.com>
- Add golang Provides for RH/Fedora compatibility
-------------------------------------------------------------------
Tue Jun 30 17:15:40 UTC 2020 - Andreas Schwab <schwab@suse.de>

View File

@ -41,6 +41,8 @@ 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) = %{api_version}
# We provide this for RH/Fedora compatibility
Provides: golang = %{version}
# Make this both Requires and BuildRequires go1.x so that we get build errors
# if it is missing.
BuildRequires: go%{api_version}
@ -57,6 +59,8 @@ safety of a static language.
Summary: Go documentation
License: BSD-3-Clause
Group: Documentation/Other
# We provide this for RH/Fedora compatibility
Provides: golang-docs = %{version}
Requires: go = %{version}
Supplements: go = %{version}
Requires: go%{api_version}-doc
@ -74,6 +78,8 @@ Url: https://compiler-rt.llvm.org/
Requires: go = %{version}
Supplements: go = %{version}
ExclusiveArch: %{tsan_arch}
# We provide this for RH/Fedora compatibility
Provides: golang-race = %{version}
# Make this both Requires and BuildRequires go1.x-race so that we get build
# errors if it is missing.
BuildRequires: go%{api_version}-race