Skip to content

Commit 6a0fb93

Browse files
authored
golang: bump Go version; major version update [fasttrack/3.0] (microsoft#14616)
1 parent 8ce78fb commit 6a0fb93

File tree

23 files changed

+501
-38
lines changed

23 files changed

+501
-38
lines changed

LICENSES-AND-NOTICES/SPECS/LICENSES-MAP.md

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

LICENSES-AND-NOTICES/SPECS/data/licenses.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2766,6 +2766,7 @@
27662766
"gobject-introspection",
27672767
"golang",
27682768
"golang-1.23",
2769+
"golang-1.24",
27692770
"gperf",
27702771
"gperftools",
27712772
"gpgme",

SPECS/azurelinux-image-tools/azurelinux-image-tools.spec

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Summary: Azure Linux Image Tools
44
Name: azurelinux-image-tools
55
Version: 0.18.0
6-
Release: 1%{?dist}
6+
Release: 2%{?dist}
77
License: MIT
88
URL: https://github.com/microsoft/azure-linux-image-tools/
99
Group: Applications/System
@@ -15,7 +15,7 @@ Source0: https://github.com/microsoft/azure-linux-image-tools/archive/ref
1515
# Use generate_source_tarball.sh script with the package version to build this tarball.
1616
#
1717
Source1: %{name}-%{version}-vendor.tar.gz
18-
BuildRequires: golang >= 1.24.1
18+
BuildRequires: golang < 1.25
1919
BuildRequires: systemd-udev
2020
Requires: %{name}-imagecustomizer = %{version}-%{release}
2121

@@ -99,6 +99,9 @@ go test -C toolkit/tools ./...
9999
/imagecustomizer-telemetry-requirements.txt
100100

101101
%changelog
102+
* Sun Aug 31 2025 Andrew Phelps <[email protected]> - 0.18.0-2
103+
- Set BR for golang to < 1.25
104+
102105
* Wed Aug 20 2025 Lanze Liu <[email protected]> 0.18.0-1
103106
- Original version for Azure Linux (license: MIT).
104107
- License verified.

SPECS/cf-cli/cf-cli.spec

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Summary: The official command line client for Cloud Foundry.
55
Name: cf-cli
66
# Note: Upgrading the package also warrants an upgrade in the CF_BUILD_SHA
77
Version: 8.7.11
8-
Release: 3%{?dist}
8+
Release: 4%{?dist}
99
License: Apache-2.0
1010
Vendor: Microsoft Corporation
1111
Distribution: Azure Linux
@@ -37,7 +37,7 @@ Patch1: CVE-2024-45338.patch
3737
Patch2: CVE-2025-22869.patch
3838
Patch3: CVE-2025-22872.patch
3939

40-
BuildRequires: golang >= 1.18.3
40+
BuildRequires: golang < 1.25
4141
%global debug_package %{nil}
4242
%define our_gopath %{_topdir}/.gopath
4343

@@ -69,6 +69,9 @@ install -p -m 755 -t %{buildroot}%{_bindir} ./out/cf
6969
%{_bindir}/cf
7070

7171
%changelog
72+
* Sun Aug 31 2025 Andrew Phelps <[email protected]> - 8.7.11-4
73+
- Set BR for golang to < 1.25
74+
7275
* Tue Apr 22 2025 Archana Shettigar <[email protected]> - 8.7.11-3
7376
- Fix CVE-2025-22872 with an upstream patch
7477

SPECS/cloud-provider-kubevirt/cloud-provider-kubevirt.spec

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Summary: Package to create the cloud-provider-kubevirt binary.
22
Name: cloud-provider-kubevirt
33
Version: 0.5.1
4-
Release: 1%{?dist}
4+
Release: 2%{?dist}
55
License: ASL 2.0
66
URL: https://github.com/kubevirt/cloud-provider-kubevirt/
77
Group: System/Management
@@ -30,7 +30,7 @@ Patch1: single-ip-address-for-node.patch
3030
Patch2: golang-version-upgrade.patch
3131
Patch3: instanceexists-watches-vms-instead-of-vmis.patch
3232
%global debug_package %{nil}
33-
BuildRequires: golang >= 1.23
33+
BuildRequires: golang < 1.25
3434

3535
%define our_gopath %{_topdir}/.gopath
3636

@@ -69,6 +69,9 @@ make test
6969
%{_bindir}/kubevirt-cloud-controller-manager
7070

7171
%changelog
72+
* Sun Aug 31 2025 Andrew Phelps <[email protected]> - 0.5.1-2
73+
- Set BR for golang to < 1.25
74+
7275
* Tue Feb 04 2025 Sharath Srikanth Chellappa <[email protected]> 0.5.1-1
7376
- Original version for Azure Linux.
7477
- License verified.

SPECS/containerd2/containerd2.spec

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
Summary: Industry-standard container runtime
66
Name: %{upstream_name}2
77
Version: 2.0.0
8-
Release: 13%{?dist}
8+
Release: 14%{?dist}
99
License: ASL 2.0
1010
Group: Tools/Container
1111
URL: https://www.containerd.io
@@ -25,7 +25,7 @@ Patch5: multi-snapshotters-support.patch
2525
Patch6: tardev-support.patch
2626
%{?systemd_requires}
2727

28-
BuildRequires: golang
28+
BuildRequires: golang < 1.25
2929
BuildRequires: go-md2man
3030
BuildRequires: make
3131
BuildRequires: systemd-rpm-macros
@@ -98,6 +98,9 @@ fi
9898
%dir /opt/containerd/lib
9999

100100
%changelog
101+
* Sun Aug 31 2025 Andrew Phelps <[email protected]> - 2.0.0-14
102+
- Set BR for golang to < 1.25
103+
101104
* Mon Jul 21 2025 Saul Paredes <[email protected]> - 2.0.0-13
102105
- Add "Provides/Obsoletes:" to shift all installs of moby-containerd-cc to containerd2
103106

SPECS/containerized-data-importer/containerized-data-importer.spec

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
Summary: Container native virtualization
1919
Name: containerized-data-importer
2020
Version: 1.57.0
21-
Release: 14%{?dist}
21+
Release: 15%{?dist}
2222
License: ASL 2.0
2323
Vendor: Microsoft Corporation
2424
Distribution: Azure Linux
@@ -37,7 +37,7 @@ Patch8: CVE-2023-3978.patch
3737
Patch9: CVE-2025-27144.patch
3838
Patch10: CVE-2025-22868.patch
3939
Patch11: CVE-2025-22872.patch
40-
BuildRequires: golang
40+
BuildRequires: golang < 1.25
4141
BuildRequires: golang-packaging
4242
BuildRequires: libnbd-devel
4343
BuildRequires: pkgconfig
@@ -231,6 +231,9 @@ install -m 0644 _out/manifests/release/cdi-cr.yaml %{buildroot}%{_datadir}/cdi/m
231231
%{_datadir}/cdi/manifests
232232

233233
%changelog
234+
* Sun Aug 31 2025 Andrew Phelps <[email protected]> - 1.57.0-15
235+
- Set BR for golang to < 1.25
236+
234237
* Tue Apr 22 2025 Archana Shettigar <[email protected]> - 1.57.0-14
235238
- Patch CVE-2025-22872
236239

SPECS/coredns/coredns.spec

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
Summary: Fast and flexible DNS server
77
Name: coredns
88
Version: 1.11.4
9-
Release: 7%{?dist}
9+
Release: 8%{?dist}
1010
License: Apache License 2.0
1111
Vendor: Microsoft Corporation
1212
Distribution: Azure Linux
@@ -42,7 +42,7 @@ Patch3: CVE-2025-30204.patch
4242
Patch4: CVE-2024-53259.patch
4343
Patch5: CVE-2025-47950.patch
4444

45-
BuildRequires: golang >= 1.23
45+
BuildRequires: golang < 1.25
4646

4747
%description
4848
CoreDNS is a fast and flexible DNS server.
@@ -82,6 +82,9 @@ go install github.com/fatih/faillint@latest && \
8282
%{_bindir}/%{name}
8383

8484
%changelog
85+
* Sun Aug 31 2025 Andrew Phelps <[email protected]> - 1.11.4-8
86+
- Set BR for golang to < 1.25
87+
8588
* Tue Jun 17 2025 Aninda Pradhan <[email protected]> - 1.11.4-7
8689
- Fix CVE-2025-47950 with an upstream patch
8790

SPECS/cri-tools/cri-tools.spec

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
Summary: CRI tools
88
Name: cri-tools
99
Version: 1.32.0
10-
Release: 2%{?dist}
10+
Release: 3%{?dist}
1111
License: Apache-2.0
1212
Vendor: Microsoft Corporation
1313
Distribution: Azure Linux
@@ -18,7 +18,7 @@ Patch0: CVE-2024-45338.patch
1818
Patch1: CVE-2025-22872.patch
1919
BuildRequires: glib-devel
2020
BuildRequires: glibc-devel
21-
BuildRequires: golang
21+
BuildRequires: golang < 1.25
2222

2323
%description
2424
cri-tools aims to provide a series of debugging and validation tools for Kubelet CRI, which includes:
@@ -46,6 +46,9 @@ install -p -m 755 -t %{buildroot}%{_bindir} "${BUILD_FOLDER}/critest"
4646
%{_bindir}/critest
4747

4848
%changelog
49+
* Sun Aug 31 2025 Andrew Phelps <[email protected]> - 1.32.0-3
50+
- Set BR for golang to < 1.25
51+
4952
* Thu May 22 2025 Aninda Pradhan <[email protected]> - 1.32.0-2
5053
- Patch CVE-2025-22872
5154

SPECS/dcos-cli/dcos-cli.spec

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Summary: The command line for DC/OS
22
Name: dcos-cli
33
Version: 1.2.0
4-
Release: 18%{?dist}
4+
Release: 19%{?dist}
55
License: Apache-2.0
66
Vendor: Microsoft Corporation
77
Distribution: Azure Linux
@@ -13,7 +13,7 @@ Patch1: CVE-2024-28180.patch
1313
Patch2: CVE-2025-27144.patch
1414
Patch3: CVE-2024-51744.patch
1515

16-
BuildRequires: golang >= 1.17.1
16+
BuildRequires: golang < 1.25
1717
BuildRequires: git
1818
%global debug_package %{nil}
1919
%define our_gopath %{_topdir}/.gopath
@@ -49,6 +49,9 @@ go test -mod=vendor
4949
%{_bindir}/dcos
5050

5151
%changelog
52+
* Sun Aug 31 2025 Andrew Phelps <[email protected]> - 1.2.0-19
53+
- Set BR for golang to < 1.25
54+
5255
* Wed Mar 19 2025 Jyoti Kanase <[email protected]> - 1.2.0-18
5356
- Fix CVE-2024-51744
5457

0 commit comments

Comments
 (0)