Skip to content

Commit 4e55b13

Browse files
KavyaSree2610kavyasree
andauthored
upgrade rust to 1.85.0 (#11295)
Co-authored-by: kavyasree <kkaitepalli@microsoft.com>
1 parent fea32fc commit 4e55b13

24 files changed

Lines changed: 646 additions & 67 deletions

File tree

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 <kkaitepalli@microsoft.com> 3.1.1-3
736+
- Bump release to build with rust 1.85.0
737+
735738
* Fri Sep 20 2024 Muhammad Falak <mwani@microsoft.com> 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 <kkaitepalli@microsoft.com> - 13.0.0-6
108+
- Bump release to build with rust 1.85.0
109+
107110
* Thu Sep 07 2023 Daniel McIlvaney <damcilva@microsoft.com> - 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 <kkaitepalli@microsoft.com> - 0.24.3-2
100+
- Bump release to build with rust 1.85.0
101+
99102
* Mon Sep 25 2023 Shweta Bindal <shwetabindal@microsoft.com> - 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 <kkaitepalli@microsoft.com> - 1.0.7-2
140+
- Pin rust version
141+
139142
* Fri Oct 18 2024 Archana Choudhary <archana1@microsoft.com> - 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 <kkaitepalli@microsoft.com> - 38.0.72.2-4
152+
- Pin rust version
153+
151154
* Sun Feb 16 2025 Kanishk Bansal <kanbansal@microsoft.com> - 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 <kkaitepalli@microsoft.com> - 0.194.5-3
148+
- Pin rust version
149+
147150
* Mon Apr 14 2025 Tobias Brick <tobiasb@microsoft.com> - 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 <kkaitepalli@microsoft.com> - 2.7.5-3
157+
- Pin rust version
158+
156159
* Mon Mar 03 2025 Kanishk Bansal <kanbansal@microsoft.com> - 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 <kkaitepalli@microsoft.com> - 3.2.0.azl5-2
154+
- Pin rust version
155+
153156
* Fri Mar 28 2025 CBL-Mariner Servicing Account <cblmargh@microsoft.com> - 3.2.0.azl5-1
154157
- Auto-upgrade to 3.2.0.azl5
155158

0 commit comments

Comments
 (0)