Skip to content

Commit 4e55b13

Browse files
KavyaSree2610kavyasree
and
kavyasree
authored
upgrade rust to 1.85.0 (#11295)
Co-authored-by: kavyasree <[email protected]>
1 parent fea32fc commit 4e55b13

24 files changed

+646
-67
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
@@ -3074,6 +3074,7 @@
30743074
"rsyslog",
30753075
"ruby",
30763076
"rust",
3077+
"rust-1.75",
30773078
"scons",
30783079
"sed",
30793080
"sg3_utils",

SPECS-EXTENDED/389-ds-base/389-ds-base.spec

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ ExcludeArch: i686
6868
Summary: 389 Directory Server (%{variant})
6969
Name: 389-ds-base
7070
Version: 3.1.1
71-
Release: 2%{?dist}
71+
Release: 3%{?dist}
7272
License: GPL-3.0-or-later AND (0BSD OR Apache-2.0 OR MIT) AND (Apache-2.0 OR Apache-2.0 WITH LLVM-exception OR MIT) AND (Apache-2.0 OR BSL-1.0) AND (Apache-2.0 OR MIT OR Zlib) AND (Apache-2.0 OR MIT) AND (CC-BY-4.0 AND MIT) AND (MIT OR Apache-2.0) AND Unicode-DFS-2016 AND (MIT OR CC0-1.0) AND (MIT OR Unlicense) AND 0BSD AND Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND ISC AND MIT AND MIT AND ISC AND MPL-2.0 AND PSF-2.0
7373
URL: https://www.port389.org
7474
Vendor: Microsoft Corporation
@@ -732,6 +732,9 @@ exit 0
732732
%endif
733733

734734
%changelog
735+
* Mon Apr 21 2025 Kavya Sree Kaitepalli <[email protected]> 3.1.1-3
736+
- Bump release to build with rust 1.85.0
737+
735738
* Fri Sep 20 2024 Muhammad Falak <[email protected]> 3.1.0-2
736739
- Initial Azure Linux import from Fedora 42 (license: MIT)
737740
- License verified

SPECS-EXTENDED/ripgrep/ripgrep.spec

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
Name: ripgrep
2222
Version: 13.0.0
23-
Release: 5%{?dist}
23+
Release: 6%{?dist}
2424
Summary: A search tool that combines ag with grep
2525
License: MIT AND Unlicense
2626
Vendor: Microsoft Corporation
@@ -31,7 +31,7 @@ Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
3131
Source1: %{name}-%{version}-vendor.tar.xz
3232
Source2: cargo_config
3333
BuildRequires: cargo
34-
BuildRequires: rust >= 1.31
34+
BuildRequires: rust
3535
BuildRequires: rubygem(asciidoctor)
3636

3737
%description
@@ -104,6 +104,9 @@ install -Dm 644 complete/_rg %{buildroot}%{_datadir}/zsh/site-functions/_rg
104104
%{_datadir}/zsh
105105

106106
%changelog
107+
* Mon Apr 21 2025 Kavya Sree Kaitepalli <[email protected]> - 13.0.0-6
108+
- Bump release to build with rust 1.85.0
109+
107110
* Thu Sep 07 2023 Daniel McIlvaney <[email protected]> - 13.0.0-5
108111
- Bump package to rebuild with rust 1.72.0
109112

SPECS-EXTENDED/rust-cbindgen/rust-cbindgen.spec

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
Summary: Tool for generating C bindings to Rust code
33
Name: rust-cbindgen
44
Version: 0.24.3
5-
Release: 1%{?dist}
5+
Release: 2%{?dist}
66
License: MIT
77
Vendor: Microsoft Corporation
88
Distribution: Azure Linux
@@ -20,8 +20,8 @@ Source2: cargo_config
2020
%global rustflags '-Clink-arg=-Wl,-z,relro,-z,now'
2121
%global _description %{expand:
2222
A tool for generating C bindings to Rust code.}
23-
BuildRequires: cargo >= 1.45
24-
BuildRequires: rust >= 1.45
23+
BuildRequires: cargo
24+
BuildRequires: rust
2525

2626
%description %{_description}
2727

@@ -96,6 +96,9 @@ RUSTFLAGS=%{rustflags} cargo test --release
9696
%endif
9797

9898
%changelog
99+
* Mon Apr 21 2025 Kavya Sree Kaitepalli <[email protected]> - 0.24.3-2
100+
- Bump release to build with rust 1.85.0
101+
99102
* Mon Sep 25 2023 Shweta Bindal <[email protected]> - 0.24.3-1
100103
- Initial CBL-Mariner import from Fedora 38 (license: MIT).
101104
- License verified

SPECS/clamav/clamav.spec

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Summary: Open source antivirus engine
22
Name: clamav
33
Version: 1.0.7
4-
Release: 1%{?dist}
4+
Release: 2%{?dist}
55
License: ASL 2.0 AND BSD AND bzip2-1.0.4 AND GPLv2 AND LGPLv2+ AND MIT AND Public Domain AND UnRar
66
Vendor: Microsoft Corporation
77
Distribution: Azure Linux
@@ -31,7 +31,7 @@ BuildRequires: pcre2-devel
3131
BuildRequires: python3
3232
BuildRequires: python3-pip
3333
BuildRequires: python3-pytest
34-
BuildRequires: rust
34+
BuildRequires: rust < 1.85.0
3535
BuildRequires: systemd
3636
BuildRequires: systemd-devel
3737
BuildRequires: systemd-rpm-macros
@@ -136,6 +136,9 @@ fi
136136
%dir %attr(-,clamav,clamav) %{_sharedstatedir}/clamav
137137

138138
%changelog
139+
* Mon Apr 21 2025 Kavya Sree Kaitepalli <[email protected]> - 1.0.7-2
140+
- Pin rust version
141+
139142
* Fri Oct 18 2024 Archana Choudhary <[email protected]> - 1.0.7-1
140143
- Upgrade to version 1.0.7
141144
- Fixes CVE-2024-20506, CVE-2024-20505

SPECS/cloud-hypervisor-cvm/cloud-hypervisor-cvm.spec

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
Name: cloud-hypervisor-cvm
66
Summary: Cloud Hypervisor CVM is an open source Virtual Machine Monitor (VMM) that enables running SEV SNP enabled VMs on top of MSHV using the IGVM file format as payload.
77
Version: 38.0.72.2
8-
Release: 3%{?dist}
8+
Release: 4%{?dist}
99
License: ASL 2.0 OR BSD-3-clause
1010
Vendor: Microsoft Corporation
1111
Distribution: Azure Linux
@@ -40,8 +40,8 @@ BuildRequires: glibc-devel
4040
BuildRequires: openssl-devel
4141

4242
%if ! 0%{?using_rustup}
43-
BuildRequires: rust >= 1.62.0
44-
BuildRequires: cargo >= 1.62.0
43+
BuildRequires: rust < 1.85.0
44+
BuildRequires: cargo < 1.85.0
4545
%endif
4646

4747
Requires: bash
@@ -148,6 +148,9 @@ cargo build --release --target=%{rust_musl_target} %{cargo_pkg_feature_opts} %{c
148148
%license LICENSE-BSD-3-Clause
149149

150150
%changelog
151+
* Mon Apr 21 2025 Kavya Sree Kaitepalli <[email protected]> - 38.0.72.2-4
152+
- Pin rust version
153+
151154
* Sun Feb 16 2025 Kanishk Bansal <[email protected]> - 38.0.72.2-3
152155
- Patch CVE-2024-12797
153156

SPECS/flux/flux.spec

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
Summary: Influx data language
2323
Name: flux
2424
Version: 0.194.5
25-
Release: 2%{?dist}
25+
Release: 3%{?dist}
2626
License: MIT
2727
Vendor: Microsoft Corporation
2828
Distribution: Azure Linux
@@ -43,9 +43,9 @@ Patch1: disable-static-library.patch
4343
# Fixed upstream in 1.195.0, https://github.com/influxdata/flux/pull/5484.
4444
Patch2: fix-build-warnings.patch
4545
Patch3: fix-unsigned-char.patch
46-
BuildRequires: cargo >= 1.45
46+
BuildRequires: cargo < 1.85.0
4747
BuildRequires: kernel-headers
48-
BuildRequires: rust >= 1.45
48+
BuildRequires: rust < 1.85.0
4949

5050
%description
5151
Flux is a lightweight scripting language for querying databases (like InfluxDB)
@@ -144,6 +144,9 @@ RUSTFLAGS=%{rustflags} cargo test --release
144144
%{_includedir}/influxdata/flux.h
145145

146146
%changelog
147+
* Mon Apr 21 2025 Kavya Sree Kaitepalli <[email protected]> - 0.194.5-3
148+
- Pin rust version
149+
147150
* Mon Apr 14 2025 Tobias Brick <[email protected]> - 0.194.5-2
148151
- Add missing EOF for inline patch call.
149152
- Fix build warnings rather than suppressing them.

SPECS/influxdb/influxdb.spec

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
Summary: Scalable datastore for metrics, events, and real-time analytics
1919
Name: influxdb
2020
Version: 2.7.5
21-
Release: 2%{?dist}
21+
Release: 3%{?dist}
2222
License: MIT
2323
Vendor: Microsoft Corporation
2424
Distribution: Azure Linux
@@ -68,7 +68,7 @@ BuildRequires: clang
6868
BuildRequires: golang
6969
BuildRequires: kernel-headers
7070
BuildRequires: protobuf-devel
71-
BuildRequires: rust >= 1.60.0
71+
BuildRequires: rust < 1.85.0
7272
BuildRequires: systemd-rpm-macros
7373
BuildRequires: tzdata
7474
# IMPORTANT: when upgrading this, make sure the flux version matches what is required by go.mod file in the soure code of influxdb.
@@ -153,6 +153,9 @@ go test ./...
153153
%{_tmpfilesdir}/influxdb.conf
154154

155155
%changelog
156+
* Mon Apr 21 2025 Kavya Sree Kaitepalli <[email protected]> - 2.7.5-3
157+
- Pin rust version
158+
156159
* Mon Mar 03 2025 Kanishk Bansal <[email protected]> - 2.7.5-2
157160
- Fix CVE-2025-22868, CVE-2025-27144 with an upstream patch
158161

SPECS/kata-containers-cc/kata-containers-cc.spec

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
Name: kata-containers-cc
55
Version: 3.2.0.azl5
6-
Release: 1%{?dist}
6+
Release: 2%{?dist}
77
Summary: Kata Confidential Containers package developed for Confidential Containers on AKS
88
License: ASL 2.0
99
URL: https://github.com/microsoft/kata-containers
@@ -17,7 +17,7 @@ ExclusiveArch: x86_64
1717
BuildRequires: azurelinux-release
1818
BuildRequires: golang
1919
BuildRequires: protobuf-compiler
20-
BuildRequires: rust
20+
BuildRequires: rust < 1.85.0
2121
BuildRequires: libseccomp-devel
2222
BuildRequires: openssl-devel
2323
BuildRequires: clang
@@ -150,6 +150,9 @@ fi
150150
%{tools_pkg}/tools/osbuilder/node-builder/azure-linux/agent-install/usr/lib/systemd/system/kata-agent.service
151151

152152
%changelog
153+
* Mon Apr 21 2025 Kavya Sree Kaitepalli <[email protected]> - 3.2.0.azl5-2
154+
- Pin rust version
155+
153156
* Fri Mar 28 2025 CBL-Mariner Servicing Account <[email protected]> - 3.2.0.azl5-1
154157
- Auto-upgrade to 3.2.0.azl5
155158

SPECS/kata-containers/kata-containers.spec

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Name: kata-containers
44
Version: 3.2.0.azl5
5-
Release: 1%{?dist}
5+
Release: 2%{?dist}
66
Summary: Kata Containers package developed for Pod Sandboxing on AKS
77
License: ASL 2.0
88
URL: https://github.com/microsoft/kata-containers
@@ -16,7 +16,7 @@ ExclusiveArch: x86_64
1616
BuildRequires: azurelinux-release
1717
BuildRequires: golang
1818
BuildRequires: protobuf-compiler
19-
BuildRequires: rust
19+
BuildRequires: rust < 1.85.0
2020
BuildRequires: libseccomp-devel
2121
BuildRequires: openssl-devel
2222
BuildRequires: clang
@@ -112,6 +112,9 @@ popd
112112
%{tools_pkg}/tools/osbuilder/node-builder/azure-linux/agent-install/usr/lib/systemd/system/kata-agent.service
113113

114114
%changelog
115+
* Mon Apr 21 2025 Kavya Sree Kaitepalli <[email protected]> - 3.2.0.azl5-2
116+
- Pin rust version
117+
115118
* Fri Mar 28 2025 CBL-Mariner Servicing Account <[email protected]> - 3.2.0.azl5-1
116119
- Auto-upgrade to 3.2.0.azl5
117120

SPECS/librsvg2/librsvg2.spec

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
Summary: An SVG library based on cairo
99
Name: librsvg2
1010
Version: 2.58.1
11-
Release: 1%{?dist}
11+
Release: 2%{?dist}
1212
License: LGPLv2+
1313
Vendor: Microsoft Corporation
1414
Distribution: Azure Linux
@@ -31,7 +31,7 @@ BuildRequires: gobject-introspection-devel
3131
BuildRequires: harfbuzz-devel >= 2.0.0
3232
BuildRequires: make
3333
BuildRequires: pkgconfig
34-
BuildRequires: rust
34+
BuildRequires: rust < 1.85.0
3535
BuildRequires: vala
3636
BuildRequires: vala-devel
3737
BuildRequires: vala-tools
@@ -125,6 +125,9 @@ rm -vrf %{buildroot}%{_docdir}
125125
%{_bindir}/rsvg-convert
126126

127127
%changelog
128+
* Mon Apr 21 2025 Kavya Sree Kaitepalli <[email protected]> - 2.58.1-2
129+
- Pin rust version
130+
128131
* Tue Jun 04 2024 Nicolas Guibourge <[email protected]> - 2.58.1-1
129132
- Upgrade to 2.58.1
130133

SPECS/mesa/mesa.spec

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
6767
Name: mesa
6868
Summary: Mesa graphics libraries
6969
Version: 24.0.1
70-
Release: 1%{?dist}
70+
Release: 2%{?dist}
7171
License: BSD
7272
Vendor: Microsoft Corporation
7373
Distribution: Azure Linux
@@ -144,7 +144,7 @@ BuildRequires: llvm-devel >= 7.0.0
144144
%if 0%{?with_opencl} || 0%{?with_nvk}
145145
BuildRequires: clang-devel
146146
BuildRequires: bindgen
147-
BuildRequires: rust
147+
BuildRequires: rust < 1.85.0
148148
BuildRequires: pkgconfig(libclc)
149149
BuildRequires: pkgconfig(SPIRV-Tools)
150150
BuildRequires: pkgconfig(LLVMSPIRVLib)
@@ -741,6 +741,9 @@ popd
741741
%endif
742742

743743
%changelog
744+
* Mon Apr 21 2025 Kavya Sree Kaitepalli <[email protected]> - 24.0.1-2
745+
- Pin rust version
746+
744747
* Thu Feb 29 2024 Vince Perri <[email protected]> - 24.0.1-1
745748
- Upgrade to 24.0.1 based on Fedora 40.
746749
- License verified.

SPECS/netavark/netavark.spec

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,19 +11,19 @@
1111

1212
Name: netavark
1313
Version: 1.10.3
14-
Release: 1%{?dist}
14+
Release: 2%{?dist}
1515
Summary: OCI network stack
1616
License: ASL 2.0 and BSD and MIT
1717
Vendor: Microsoft Corporation
1818
Distribution: Azure Linux
1919
URL: https://github.com/containers/%{name}
2020
Source0: %{url}/archive/%{built_tag}/%{version}.tar.gz#/%{name}-%{version}.tar.gz
2121
Source1: %{url}/releases/download/%{built_tag}/%{name}-%{built_tag}-vendor.tar.gz
22-
BuildRequires: cargo
22+
BuildRequires: cargo < 1.85.0
2323
BuildRequires: make
2424
BuildRequires: protobuf-c
2525
BuildRequires: protobuf-compiler
26-
BuildRequires: rust
26+
BuildRequires: rust < 1.85.0
2727
BuildRequires: git
2828
BuildRequires: go-md2man
2929
Recommends: aardvark-dns >= 1.10.3-1
@@ -225,6 +225,9 @@ popd
225225
%{_unitdir}/%{name}-firewalld-reload.service
226226

227227
%changelog
228+
* Mon Apr 21 2025 Kavya Sree Kaitepalli <kkaitepalli@microsoft.com> - 1.10.3-2
229+
- Pin rust version
230+
228231
* Thu Feb 22 2024 Mitch Zhu <mitchzhu@microsoft.com> - 1.10.3-1
229232
- upgrade to v1.10.3
230233

SPECS/rpm-ostree/rpm-ostree.spec

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Summary: Commit RPMs to an OSTree repository
22
Name: rpm-ostree
33
Version: 2024.4
4-
Release: 1%{?dist}
4+
Release: 2%{?dist}
55
License: LGPLv2+
66
Vendor: Microsoft Corporation
77
Distribution: Azure Linux
@@ -15,7 +15,7 @@ BuildRequires: autoconf
1515
BuildRequires: autogen
1616
BuildRequires: automake
1717
BuildRequires: bubblewrap
18-
BuildRequires: cargo
18+
BuildRequires: cargo < 1.85.0
1919
BuildRequires: check
2020
BuildRequires: cppunit-devel
2121
BuildRequires: createrepo_c
@@ -45,7 +45,7 @@ BuildRequires: polkit-devel
4545
BuildRequires: popt-devel
4646
BuildRequires: python3-devel
4747
BuildRequires: python3-pygments
48-
BuildRequires: rust
48+
BuildRequires: rust < 1.85.0
4949
BuildRequires: sqlite-devel
5050
BuildRequires: systemd-devel
5151
BuildRequires: which
@@ -177,6 +177,9 @@ make check
177177
%{_datadir}/gir-1.0/*-1.0.gir
178178

179179
%changelog
180+
* Mon Apr 21 2025 Kavya Sree Kaitepalli <[email protected]> - 2024.4-2
181+
- Pin rust version
182+
180183
* Fri Apr 05 2024 Betty Lakes <[email protected]> - 2024.4-1
181184
- Upgrade to 2024.4 and remove libgsystem dependency
182185

0 commit comments

Comments
 (0)