From 855b05044ec8b3f0b6ea943cafa300ce3db75c2f Mon Sep 17 00:00:00 2001 From: yangxianzhao Date: Tue, 20 Feb 2024 16:08:54 +0800 Subject: [PATCH] rebrand to anolis --- download | 1 + ....js => thunderbird-anolis-default-prefs.js | 2 +- thunderbird.spec | 40 ++++++++++++++----- 3 files changed, 33 insertions(+), 10 deletions(-) rename thunderbird-redhat-default-prefs.js => thunderbird-anolis-default-prefs.js (96%) diff --git a/download b/download index 0e748e7..737d915 100644 --- a/download +++ b/download @@ -4,3 +4,4 @@ d9c9dd9619daeb43820de97b04bede45 nss-3.90.0-2.el8_1.src.rpm 5c2f6d790957733c5f0d06f8caea3b0d nss-3.90.0-3.el9_0.src.rpm 322656f39a60b5bd18cc6726ad061657 thunderbird-115.5.0.processed-source.tar.xz bf109bcf39465089906ba1df6f8041d0 thunderbird-langpacks-115.5.0-20231121.tar.xz +6611e41665de11dd80b2ff5f1f40ee03 rust-cbindgen.tar.gz diff --git a/thunderbird-redhat-default-prefs.js b/thunderbird-anolis-default-prefs.js similarity index 96% rename from thunderbird-redhat-default-prefs.js rename to thunderbird-anolis-default-prefs.js index 4d01b78..1d192b1 100644 --- a/thunderbird-redhat-default-prefs.js +++ b/thunderbird-anolis-default-prefs.js @@ -2,7 +2,7 @@ pref("app.update.enabled", false); pref("app.update.autoInstallEnabled", false); /* Allow users to set custom colors*/ /* pref("browser.display.use_system_colors", true);*/ -pref("general.useragent.vendor", "Red Hat"); +pref("general.useragent.vendor", "Anolis"); pref("general.useragent.vendorSub", "THUNDERBIRD_RPM_VR"); pref("intl.locale.matchOS", true); pref("mail.shell.checkDefaultClient", false); diff --git a/thunderbird.spec b/thunderbird.spec index d71c4df..31de8d5 100644 --- a/thunderbird.spec +++ b/thunderbird.spec @@ -1,3 +1,5 @@ +%define anolis_release .0.1 + # Set for local builds only %global disable_toolsets 0 @@ -67,7 +69,7 @@ end} %global nspr_version_max 4.36 %global nss_version 3.90 %global nss_version_max 3.91 -%global rust_version 1.66 +#%global rust_version 1.66 %global system_libvpx 0 # Toolsets setup @@ -135,7 +137,7 @@ end} Summary: Mozilla Thunderbird mail/newsgroup client Name: thunderbird Version: 115.5.0 -Release: 1%{?dist} +Release: 1%{anolis_release}%{?dist} URL: http://www.mozilla.org/projects/thunderbird/ License: MPLv1.1 or GPLv2+ or LGPLv2+ @@ -155,7 +157,7 @@ ExcludeArch: %{ix86} %endif %endif %if 0%{?rhel} == 7 -ExcludeArch: aarch64 s390 ppc ppc64 +ExcludeArch: s390 ppc ppc64 %endif # We can't use the official tarball as it contains some test files that use @@ -170,7 +172,7 @@ Source1: thunderbird-langpacks-%{version}-20231121.tar.xz Source2: cbindgen-vendor.tar.xz Source3: process-official-tarball Source10: thunderbird-mozconfig -Source12: thunderbird-redhat-default-prefs.js +Source12: thunderbird-anolis-default-prefs.js Source20: thunderbird.desktop Source21: thunderbird.sh.in Source24: mozilla-api-key @@ -182,6 +184,8 @@ Source401: nss-setup-flags-env.inc Source402: nspr-4.35.0-1.el8_1.src.rpm Source403: nss-3.90.0-2.el8_1.src.rpm Source404: nss-3.90.0-3.el9_0.src.rpm +Source405: rust-cbindgen.tar.gz + # ---- RHEL specific patches --- # -- Downstream only -- @@ -315,7 +319,7 @@ BuildRequires: llvm-toolset-%{llvm_version}-llvm-devel %endif %if 0%{?use_rust_ts} -BuildRequires: rust-toolset-%{rust_version} +#BuildRequires: rust-toolset-%{rust_version} %endif # Bundled nss/nspr requirement @@ -1149,8 +1153,23 @@ which python3 mkdir -p my_rust_vendor cd my_rust_vendor %{__tar} xf %{SOURCE2} -mkdir -p .cargo -cat > .cargo/config < %{_buildrootdir}/cargo/config </dev/null || : #=============================================================================== %changelog +* Tue Feb 20 2024 yangxianzhao - 115.5.0-1.0.1 +- rebrand to anolis + * Tue Nov 21 2023 Eike Rathke - 115.5.0-1 - Update to 115.5.0 build1 -- Gitee