Update to go1.20rc3

Disable race package due go 1.20 new feature
This commit is contained in:
Alejandro Sáez 2023-01-17 18:21:14 +01:00 committed by alexsaezm
parent 1d2570b076
commit f7c0afe323
3 changed files with 19 additions and 17 deletions

1
.gitignore vendored
View File

@ -126,3 +126,4 @@
/go1.19.4.src.tar.gz /go1.19.4.src.tar.gz
/go1.20rc1.src.tar.gz /go1.20rc1.src.tar.gz
/go1.20rc2.src.tar.gz /go1.20rc2.src.tar.gz
/go1.20rc3.src.tar.gz

View File

@ -74,11 +74,8 @@
%endif %endif
# Pre build std lib with -race enabled # Pre build std lib with -race enabled
%ifarch x86_64 # Disabled due to 1.20 new cache usage, see 1.20 upstream release notes
%global race 1
%else
%global race 0 %global race 0
%endif
# Fedora GOROOT # Fedora GOROOT
%global goroot /usr/lib/%{name} %global goroot /usr/lib/%{name}
@ -107,14 +104,14 @@
# Comment out go_prerelease and go_patch as needed # Comment out go_prerelease and go_patch as needed
%global go_api 1.20 %global go_api 1.20
%global go_prerelease rc2 %global go_prerelease rc3
#global go_patch 4 #global go_patch 4
%global go_version %{go_api}%{?go_patch:.%{go_patch}}%{?go_prerelease:~%{go_prerelease}} %global go_version %{go_api}%{?go_patch:.%{go_patch}}%{?go_prerelease:~%{go_prerelease}}
%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}
@ -145,17 +142,17 @@ Provides: go = %{version}-%{release}
# Bundled/Vendored provides generated by bundled-deps.sh based on the in tree module data # Bundled/Vendored provides generated by bundled-deps.sh based on the in tree module data
# - in version filed substituted with . per versioning guidelines # - in version filed substituted with . per versioning guidelines
Provides: bundled(golang(github.com/google/pprof)) = 0.0.0.20220729232143.a41b82acbcb1 Provides: bundled(golang(github.com/google/pprof)) = 0.0.0.20221118152302.e6195bd50e26
Provides: bundled(golang(github.com/ianlancetaylor/demangle)) = 0.0.0.20220319035150.800ac71e25c2 Provides: bundled(golang(github.com/ianlancetaylor/demangle)) = 0.0.0.20220319035150.800ac71e25c2
Provides: bundled(golang(golang.org/x/arch)) = 0.0.0.20220412001346.fc48f9fe4c15 Provides: bundled(golang(golang.org/x/arch)) = 0.1.1.0.20221116201807.1bb480fc256a
Provides: bundled(golang(golang.org/x/crypto)) = 0.0.0.20220516162934.403b01795ae8 Provides: bundled(golang(golang.org/x/crypto)) = 0.3.1.0.20221117191849.2c476679df9a
Provides: bundled(golang(golang.org/x/mod)) = 0.6.0.dev.0.20220419223038.86c51ed26bb4 Provides: bundled(golang(golang.org/x/mod)) = 0.7.0
Provides: bundled(golang(golang.org/x/net)) = 0.0.0.20220907013720.d52c520e3766 Provides: bundled(golang(golang.org/x/net)) = 0.3.1.0.20221206200815.1e63c2f08a10
Provides: bundled(golang(golang.org/x/sync)) = 0.0.0.20220513210516.0976fa681c29 Provides: bundled(golang(golang.org/x/sync)) = 0.1.0
Provides: bundled(golang(golang.org/x/sys)) = 0.0.0.20220614162138.6c1b26c55098 Provides: bundled(golang(golang.org/x/sys)) = 0.3.0
Provides: bundled(golang(golang.org/x/term)) = 0.0.0.20220411215600.e5f449aeb171 Provides: bundled(golang(golang.org/x/term)) = 0.2.0
Provides: bundled(golang(golang.org/x/text)) = 0.3.8.0.20220509174342.b4bca84b0361 Provides: bundled(golang(golang.org/x/text)) = 0.5.0
Provides: bundled(golang(golang.org/x/tools)) = 0.1.11.0.20220516163903.1e55371df567 Provides: bundled(golang(golang.org/x/tools)) = 0.3.1.0.20221121233702.060c049c4674
Requires: %{name}-bin = %{version}-%{release} Requires: %{name}-bin = %{version}-%{release}
Requires: %{name}-src = %{version}-%{release} Requires: %{name}-src = %{version}-%{release}
@ -538,6 +535,10 @@ fi
%endif %endif
%changelog %changelog
* Tue Jan 17 2023 Alejandro Sáez <asm@redhat.com> - 1.20~rc3-1
- Update to go1.20rc3
- Disable race package due go 1.20 new feature
* Wed Jan 04 2023 Alejandro Sáez <asm@redhat.com> - 1.20-0.rc2-1 * Wed Jan 04 2023 Alejandro Sáez <asm@redhat.com> - 1.20-0.rc2-1
- Update to go1.20rc2 - Update to go1.20rc2

View File

@ -1 +1 @@
SHA512 (go1.20rc2.src.tar.gz) = 099ed10e3e41d109440a0f7efc2bccf7ba8233f45d4788e29c0b69160064a1404b8ccf243f537d9936702f9dc5597784d150010eb77f206eb86fddeb73f381cd SHA512 (go1.20rc3.src.tar.gz) = 7f30b6fb8a7e4a2c8d16a01c9595bdf460dca68fbfac2ac222dd8f0b3b8b577e6bba6f4baa69f553ff39058d2bd8fddeaef243fde2608867d7964dd193d1d626