From 1a12ec691ad3e0d48d97e7931df92e204c58cb64 Mon Sep 17 00:00:00 2001 From: hanshuang Date: Fri, 10 Feb 2023 13:37:07 +0800 Subject: [PATCH] fix a7.9 compile problem --- download | 1 + thunderbird.spec | 35 +++++++++++++++++++++++++++-------- 2 files changed, 28 insertions(+), 8 deletions(-) diff --git a/download b/download index 403cceb..e18d277 100644 --- a/download +++ b/download @@ -3,3 +3,4 @@ a9f32342fcac2b79f76860ee742d6ff1 cbindgen-vendor.tar.xz 60a6a764b4a1feaa4cd6f89f8d165166 thunderbird-langpacks-102.3.0-20220916.tar.xz 75157f5e77e1a4f460645a57ff54e552 nspr-4.34.0-3.el8_1.src.rpm 04f69b8baa7bd8ddc49d786b04307df8 nss-3.79.0-6.el8_1.src.rpm +f5186eae0d0728e2cdcb6c26cd7d658e rust-cbindgen.tar.gz diff --git a/thunderbird.spec b/thunderbird.spec index 2438335..5036b9e 100644 --- a/thunderbird.spec +++ b/thunderbird.spec @@ -1,4 +1,4 @@ -%define anolis_release .0.1 +%define anolis_release .0.2 # Set for local builds only %global disable_toolsets 0 @@ -96,7 +96,7 @@ end} %endif %global use_rustts 1 %global dts_version 10 -%global rust_version 1.62 +# %global rust_version 1.62 %if 0%{?rhel} >= 8 %global use_rustts 0 %endif @@ -197,7 +197,7 @@ Source35: google-loc-api-key Source403: nss-3.79.0-6.el8_1.src.rpm Source401: nss-setup-flags-env.inc Source402: nspr-4.34.0-3.el8_1.src.rpm - +Source404: rust-cbindgen.tar.gz # Build patches Patch3: mozilla-build-arm.patch Patch25: rhbz-1219542-s390-build.patch @@ -315,7 +315,7 @@ BuildRequires: rustfmt >= %{rust_version} %endif %if 0%{?use_rustts} -BuildRequires: rust-toolset-%{rust_version} +# BuildRequires: rust-toolset-%{rust_version} %endif %if 0%{?use_llvmts} @@ -803,8 +803,23 @@ which node mkdir -p my_rust_vendor cd my_rust_vendor %{__tar} xf %{SOURCE2} -mkdir -p .cargo -cat > .cargo/config < %{_buildrootdir}/cargo/config </dev/null || : #=============================================================================== %changelog +* Fri Feb 10 2023 hanshuang - 102.3.0-3.0.2 +- fix an7 compile problem + * Tue Oct 18 2022 Liwei Ge - 102.3.0-3.0.1 - Rebrand to Anolis - Cherry-pick [f298858] -- Gitee