1
1
%global goroot %{_libdir }/golang
2
2
%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
6
5
%ifarch aarch64
7
6
%global gohostarch arm64
8
7
%else
15
14
%define __find_requires %{nil }
16
15
Summary: Go
17
16
Name: msft-golang
18
- Version: 1.23.6
17
+ Version: 1.24.1
19
18
Release: 1%{?dist }
20
19
License: BSD
21
20
Vendor: Microsoft Corporation
@@ -29,6 +28,8 @@ Source1: https://github.com/microsoft/go/releases/download/v1.4.0-1/go1.4
29
28
Source2: https://github.com/microsoft/go/releases/download/v1.19.12-1/go.20230802.5.src.tar.gz
30
29
# bootstrap 02
31
30
Source3: 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
32
33
Patch0: go14_bootstrap_aarch64.patch
33
34
Conflicts: go
34
35
Conflicts: golang
@@ -48,6 +49,9 @@ mv -v go go-bootstrap-01
48
49
tar xf %{SOURCE3 } --no-same-owner
49
50
mv -v go go-bootstrap-02
50
51
52
+ tar xf %{SOURCE4 } --no-same-owner
53
+ mv -v go go-bootstrap-03
54
+
51
55
%setup -q -n go
52
56
53
57
%build
@@ -81,6 +85,7 @@ function go_bootstrap() {
81
85
go_bootstrap 00
82
86
go_bootstrap 01
83
87
go_bootstrap 02
88
+ go_bootstrap 03
84
89
85
90
# Build current go version
86
91
export GOHOSTOS= linux
154
159
%{_bindir }/*
155
160
156
161
%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
+
157
165
*
Tue Feb 18 2025 Kanishk Bansal <[email protected] > -
1.23.6-1
158
166
- Bump version to 1.23.6 to resolve CVE-2025-25199
159
167
- Clean up the existing patches
0 commit comments