11%global goroot %{_libdir }/golang
22%global gopath %{_datadir }/gocode
3- %global ms_go_filename go1.23.6-20250211.6.src.tar.gz
4- %global ms_go_revision 2
5- %global go_priority %(echo %{version }.%{ms_go_revision } | tr -d .)
3+ %global ms_go_filename go1.24.1-20250304.4.src.tar.gz
4+ %global ms_go_revision 1
65%ifarch aarch64
76%global gohostarch arm64
87%else
1514%define __find_requires %{nil }
1615Summary: Go
1716Name: msft-golang
18- Version: 1.23.6
17+ Version: 1.24.1
1918Release: 1%{?dist }
2019License: BSD
2120Vendor: Microsoft Corporation
@@ -29,6 +28,8 @@ Source1: https://github.com/microsoft/go/releases/download/v1.4.0-1/go1.4
2928Source2: https://github.com/microsoft/go/releases/download/v1.19.12-1/go.20230802.5.src.tar.gz
3029# bootstrap 02
3130Source3: https://github.com/microsoft/go/releases/download/v1.20.14-1/go.20240206.2.src.tar.gz
31+ # bootstrap 03
32+ Source4: https://github.com/microsoft/go/releases/download/v1.22.12-2/go1.22.12-20250211.4.src.tar.gz
3233Patch0: go14_bootstrap_aarch64.patch
3334Conflicts: go
3435Conflicts: golang
@@ -48,6 +49,9 @@ mv -v go go-bootstrap-01
4849tar xf %{SOURCE3 } --no-same-owner
4950mv -v go go-bootstrap-02
5051
52+ tar xf %{SOURCE4 } --no-same-owner
53+ mv -v go go-bootstrap-03
54+
5155%setup -q -n go
5256
5357%build
@@ -81,6 +85,7 @@ function go_bootstrap() {
8185go_bootstrap 00
8286go_bootstrap 01
8387go_bootstrap 02
88+ go_bootstrap 03
8489
8590# Build current go version
8691export GOHOSTOS= linux
154159%{_bindir }/*
155160
156161%changelog
162+ *
Mon Mar 31 2025 Andrew Phelps <[email protected] > -
1.24.1-1 163+ - Bump version to 1.24.1 to address CVE-2025-22870, CVE-2024-45341, CVE-2024-45336, CVE-2024-34158
164+
157165*
Tue Feb 18 2025 Kanishk Bansal <[email protected] > -
1.23.6-1 158166- Bump version to 1.23.6 to resolve CVE-2025-25199
159167- Clean up the existing patches
0 commit comments