From f98566f752c69c55184ec26c77f504696b72f8f6 Mon Sep 17 00:00:00 2001 From: Maxwell G Date: Sat, 15 Apr 2023 17:42:27 -0500 Subject: [PATCH 1/2] 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 ``` --- golang.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/golang.spec b/golang.spec index 466dde4..386084c 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 From 6f88aa713356cd8ef3b01c16ae20fcd0f30e04c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20S=C3=A1ez?= Date: Fri, 5 May 2023 12:33:39 +0200 Subject: [PATCH 2/2] Update to go1.20.4 Resolves: rhbz#2184454 --- .gitignore | 1 + golang.spec | 8 ++++++-- sources | 2 +- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 97182ad..c7149ba 100644 --- a/.gitignore +++ b/.gitignore @@ -131,3 +131,4 @@ /go1.20.1.src.tar.gz /go1.20.2.src.tar.gz /go1.20.3.src.tar.gz +/go1.20.4.src.tar.gz diff --git a/golang.spec b/golang.spec index 386084c..d7d1bac 100644 --- a/golang.spec +++ b/golang.spec @@ -105,13 +105,13 @@ # Comment out go_prerelease and go_patch as needed %global go_api 1.20 #global go_prerelease rc3 -%global go_patch 3 +%global go_patch 4 %global go_version %{go_api}%{?go_patch:.%{go_patch}}%{?go_prerelease:~%{go_prerelease}} %global go_source %{go_api}%{?go_patch:.%{go_patch}}%{?go_prerelease} # For rpmdev-bumpspec and releng automation -%global baserelease 2 +%global baserelease 1 Name: golang Version: %{go_version} @@ -539,6 +539,10 @@ fi %endif %changelog +* Fri May 05 2023 Alejandro Sáez - 1.20.4-1 +- Update to go1.20.4 +- Resolves: rhbz#2184454 + * Sat Apr 15 2023 Maxwell G - 1.20.3-2 - Fix broken golang-race update path diff --git a/sources b/sources index 8d5f727..9d1d6c9 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (go1.20.3.src.tar.gz) = 47ebb3925956a3facef9e5e6f4efec3058e55632020ea247844c55b160d23e2be3880ea24dec2f73382a7c7858259896cbb7de1bb764c481c176bed479676029 +SHA512 (go1.20.4.src.tar.gz) = 43898325bab48c24e533f360a2c7de356a8a56946602e727b5bcd4a62ff4f64fd750e2650032f7e0525b0699e40e506d79446e16838f097e6bdc2a16f10d81be