Skip to content

Commit a57005e

Browse files
KavyaSree2610kavyasree
authored andcommitted
upgrade rust to 1.85.0 (#11295)
Co-authored-by: kavyasree <[email protected]>
1 parent cb0a42a commit a57005e

File tree

24 files changed

+654
-68
lines changed

24 files changed

+654
-68
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
@@ -3081,6 +3081,7 @@
30813081
"rsyslog",
30823082
"ruby",
30833083
"rust",
3084+
"rust-1.75",
30843085
"scons",
30853086
"sed",
30863087
"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: 14 additions & 4 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: 1%{?dist}
25+
Release: 3%{?dist}
2626
License: MIT
2727
Vendor: Microsoft Corporation
2828
Distribution: Azure Linux
@@ -40,10 +40,12 @@ Source0: %{url}/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.
4040
Source1: %{name}-%{version}-cargo.tar.gz
4141
Source2: cargo_config
4242
Patch1: disable-static-library.patch
43-
Patch2: 0001-libflux-unblock-build-by-allowing-warnings.patch
44-
BuildRequires: cargo >= 1.45
43+
# Fixed upstream in 1.195.0, https://github.com/influxdata/flux/pull/5484.
44+
Patch2: fix-build-warnings.patch
45+
Patch3: fix-unsigned-char.patch
46+
BuildRequires: cargo < 1.85.0
4547
BuildRequires: kernel-headers
46-
BuildRequires: rust >= 1.45
48+
BuildRequires: rust < 1.85.0
4749

4850
%description
4951
Flux is a lightweight scripting language for querying databases (like InfluxDB)
@@ -139,6 +141,14 @@ RUSTFLAGS=%{rustflags} cargo test --release
139141
%{_includedir}/influxdata/flux.h
140142

141143
%changelog
144+
* Mon Apr 21 2025 Kavya Sree Kaitepalli <[email protected]> - 0.194.5-3
145+
- Pin rust version
146+
147+
* Mon Apr 14 2025 Tobias Brick <[email protected]> - 0.194.5-2
148+
- Add missing EOF for inline patch call.
149+
- Fix build warnings rather than suppressing them.
150+
- Fix test build error on arm64.
151+
142152
* Thu Feb 01 2024 Mykhailo Bykhovtsev <[email protected]> - 0.194.5-1
143153
- Upgrade to version 0.194.5
144154

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: 3%{?dist}
21+
Release: 4%{?dist}
2222
License: MIT
2323
Vendor: Microsoft Corporation
2424
Distribution: Azure Linux
@@ -70,7 +70,7 @@ BuildRequires: clang
7070
BuildRequires: golang
7171
BuildRequires: kernel-headers
7272
BuildRequires: protobuf-devel
73-
BuildRequires: rust >= 1.60.0
73+
BuildRequires: rust < 1.85.0
7474
BuildRequires: systemd-rpm-macros
7575
BuildRequires: tzdata
7676
# IMPORTANT: when upgrading this, make sure the flux version matches what is required by go.mod file in the soure code of influxdb.
@@ -155,6 +155,9 @@ go test ./...
155155
%{_tmpfilesdir}/influxdb.conf
156156

157157
%changelog
158+
* Mon Apr 21 2025 Kavya Sree Kaitepalli <[email protected]> - 2.7.5-4
159+
- Pin rust version
160+
158161
* Mon Mar 24 2025 Sreeniavsulu Malavathula <[email protected]> - 2.7.5-3
159162
- Patch CVE-2025-22870, CVE-2024-51744
160163

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

0 commit comments

Comments
 (0)