Fixing build failures - cargo.lock version too high for RHEL8

Resolves: RHEL-76251
This commit is contained in:
Jan Horak 2025-02-07 11:19:45 +01:00
parent 180d35515b
commit bb6bf4a61a
2 changed files with 15 additions and 0 deletions

View File

@ -0,0 +1,11 @@
diff -up thunderbird-128.7.0/comm/rust/Cargo.lock.cargo-lock thunderbird-128.7.0/comm/rust/Cargo.lock
--- thunderbird-128.7.0/comm/rust/Cargo.lock.cargo-lock 2025-02-07 10:14:12.483795636 +0100
+++ thunderbird-128.7.0/comm/rust/Cargo.lock 2025-02-07 10:14:15.654801697 +0100
@@ -1,6 +1,6 @@
# This file is automatically @generated by Cargo.
# It is not intended for manual editing.
-version = 4
+version = 3
[[package]]
name = "aa-stroke"

View File

@ -200,6 +200,7 @@ Patch11: rust-file-removal.patch
Patch12: firefox-system-nss-replace-xyber-with-mlkem.patch
# Thunderbird has a copy of third_party/rust/neqo-crypto/ in comm/third_party/rust/neqo-crypto/
Patch13: thunderbird-system-nss-replace-xyber-with-mlkem.patch
Patch14: build-cargo-lock-version.patch
# -- Upstreamed patches --
Patch51: mozilla-bmo1170092.patch
@ -1071,6 +1072,9 @@ echo "--------------------------------------------"
%patch -P12 -p1 -b .firefox-system-nss-replace-xyber-with-mlkem
%patch -P13 -p1 -b .thunderbird-system-nss-replace-xyber-with-mlkem
%endif
%if 0%{?rhel} == 8
%patch -P14 -p1 -b .cargo-lock-version
%endif
# -- Upstreamed patches --
%patch -P51 -p1 -b .mozilla-bmo1170092