From 36f1c8b6f94322cdf8edc231575dfef3e9977a5d Mon Sep 17 00:00:00 2001 From: Maxwell G Date: Apr 15 2023 23:16:34 +0000 Subject: Fix broken golang-race update path ``` Error: Problem: package golang-race-1.19.7-1.fc37.x86_64 requires golang = 1.19.7-1.fc37, but none of the providers can be installed - golang-1.19.7-1.fc37.x86_64 does not belong to a distupgrade repository - problem with installed package golang-race-1.19.7-1.fc37.x86_64 ``` --- diff --git a/golang.spec b/golang.spec index 30ea9db..13047cf 100644 --- a/golang.spec +++ b/golang.spec @@ -111,7 +111,7 @@ %global go_source %{go_api}%{?go_patch:.%{go_patch}}%{?go_prerelease} # For rpmdev-bumpspec and releng automation -%global baserelease 1 +%global baserelease 2 Name: golang Version: %{go_version} @@ -171,6 +171,10 @@ Obsoletes: %{name}-data < 1.1.1-4 Obsoletes: %{name}-vim < 1.4 Obsoletes: emacs-%{name} < 1.4 +# We stopped building the golang-race subpackage, so we need to to maintain the +# update path. +Obsoletes: golang-race < 1.20~rc3-2 + # These are the only RHEL/Fedora architectures that we compile this package for ExclusiveArch: %{golang_arches} @@ -535,6 +539,9 @@ fi %endif %changelog +* Sat Apr 15 2023 Maxwell G - 1.20.3-2 +- Fix broken golang-race update path + * Tue Apr 04 2023 Alejandro Sáez - 1.20.3-1 - Update to go1.20.3