From 6516125786fbeef0e81b7b9062e15c4ce2c96f54 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20S=C3=A1ez?= Date: Mon, 14 Aug 2023 18:16:15 +0200 Subject: [PATCH] Retire golang-race package Resolves: rhbz#2230705 --- golang.spec | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/golang.spec b/golang.spec index 3d5c266..eca52d1 100644 --- a/golang.spec +++ b/golang.spec @@ -70,11 +70,8 @@ %endif # Pre build std lib with -race enabled -%ifarch x86_64 -%global race 1 -%else +# Disabled due to 1.20 new cache usage, see 1.20 upstream release notes %global race 0 -%endif %ifarch x86_64 %global gohostarch amd64 @@ -102,7 +99,7 @@ Name: golang Version: %{version} -Release: 4%{?dist} +Release: 5%{?dist} Summary: The Go Programming Language # source tree includes several copies of Mark.Twain-Tom.Sawyer.txt under Public Domain License: BSD and Public Domain @@ -160,6 +157,9 @@ Obsoletes: %{name}-docs < 1.1-4 # RPM can't handle symlink -> dir with subpackages, so merge back Obsoletes: %{name}-data < 1.1.1-4 +# We don't build golang-race anymore, rhbz#2230705 +Obsoletes: golang-race < 1.20.0 + # These are the only RHEL/Fedora architectures that we compile this package for ExclusiveArch: %{golang_arches} @@ -527,6 +527,10 @@ cd .. %files -n go-toolset %changelog +* Mon Aug 14 2023 Alejandro Sáez - 1.20.6-5 +- Retire golang-race package +- Resolves: rhbz#2230705 + * Tue Jul 18 2023 Alejandro Sáez - 1.20.6-1 - Rebase to Go 1.20.6 - Change to autopatch