diff --git a/download b/download index de7b7405c45f7051046a20470a7f4f39051587f0..3260fc79023f16b749ae9fad37c81921448fd371 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 ad88f36c797d35458312c7e293449ef7 thunderbird-115.6.0.processed-source.tar.xz 2af5ce8292bb573fac54952ed212f91b thunderbird-langpacks-115.6.0-20231218.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 4d01b7833b018d0bf5fe31dab6d5e578aadc53ec..1d192b118c3400135cd8897caa6ecbc6cc25feba 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 eeb2fd2bf314c34bc0170449f38a0b64da695bae..e4f82fcfc003042e462e20e9e4ebf89aa97b3778 100644 --- a/thunderbird.spec +++ b/thunderbird.spec @@ -1,4 +1,6 @@ # Set for local builds only +%define anolis_release .0.1 + %global disable_toolsets 0 # Produce debug (non-optimized) package build. Suitable for debugging only @@ -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.6.0 -Release: 1%{?dist} +Release: 1%{anolis_release}%{?dist} URL: http://www.mozilla.org/projects/thunderbird/ License: MPLv1.1 or GPLv2+ or LGPLv2+ @@ -170,7 +172,7 @@ Source1: thunderbird-langpacks-%{version}-20231218.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 Mar 12 2024 yangxianzhao - 115.6.0-1.0.1 +- rebrand to anolis + * Mon Dec 18 2023 Eike Rathke - 115.6.0-1 - Update to 115.6.0 build2