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
```
This commit is contained in:
Maxwell G 2023-04-15 17:42:27 -05:00
parent 5f1c1e0ca8
commit 36f1c8b6f9
No known key found for this signature in database
GPG Key ID: F79E4E25E8C661F8

View File

@ -111,7 +111,7 @@
%global go_source %{go_api}%{?go_patch:.%{go_patch}}%{?go_prerelease} %global go_source %{go_api}%{?go_patch:.%{go_patch}}%{?go_prerelease}
# For rpmdev-bumpspec and releng automation # For rpmdev-bumpspec and releng automation
%global baserelease 1 %global baserelease 2
Name: golang Name: golang
Version: %{go_version} Version: %{go_version}
@ -171,6 +171,10 @@ Obsoletes: %{name}-data < 1.1.1-4
Obsoletes: %{name}-vim < 1.4 Obsoletes: %{name}-vim < 1.4
Obsoletes: emacs-%{name} < 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 # These are the only RHEL/Fedora architectures that we compile this package for
ExclusiveArch: %{golang_arches} ExclusiveArch: %{golang_arches}
@ -535,6 +539,9 @@ fi
%endif %endif
%changelog %changelog
* Sat Apr 15 2023 Maxwell G <maxwell@gtmx.me> - 1.20.3-2
- Fix broken golang-race update path
* Tue Apr 04 2023 Alejandro Sáez <asm@redhat.com> - 1.20.3-1 * Tue Apr 04 2023 Alejandro Sáez <asm@redhat.com> - 1.20.3-1
- Update to go1.20.3 - Update to go1.20.3