From d27bd59e1713f9218307d264ba347751ab89cda5 Mon Sep 17 00:00:00 2001 From: xzyang Date: Wed, 29 Dec 2021 14:27:10 +0800 Subject: [PATCH] Rebrand: rebrand for Anolis --- ...js.rhel7 => thunderbird-redhat-default-prefs.js.an7 | 2 +- thunderbird.spec | 10 +++++++--- 2 files changed, 8 insertions(+), 4 deletions(-) rename thunderbird-redhat-default-prefs.js.rhel7 => thunderbird-redhat-default-prefs.js.an7 (96%) diff --git a/thunderbird-redhat-default-prefs.js.rhel7 b/thunderbird-redhat-default-prefs.js.an7 similarity index 96% rename from thunderbird-redhat-default-prefs.js.rhel7 rename to thunderbird-redhat-default-prefs.js.an7 index 4d01b78..a3f8698 100644 --- a/thunderbird-redhat-default-prefs.js.rhel7 +++ b/thunderbird-redhat-default-prefs.js.an7 @@ -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 OS"); 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 2e01399..25d4bf9 100644 --- a/thunderbird.spec +++ b/thunderbird.spec @@ -1,3 +1,4 @@ +%define anolis_release .0.1 # Set for local builds only %global disable_toolsets 0 @@ -129,7 +130,7 @@ end} Summary: Mozilla Thunderbird mail/newsgroup client Name: thunderbird Version: 91.3.0 -Release: 2%{?dist} +Release: 2%{anolis_release}%{?dist} URL: http://www.mozilla.org/projects/thunderbird/ License: MPLv1.1 or GPLv2+ or LGPLv2+ Group: Applications/Internet @@ -145,7 +146,7 @@ ExcludeArch: s390 ppc %endif # We can't use the official tarball as it contains some test files that use -# licenses that are rejected by Red Hat Legal. +# licenses that are rejected by Anolis Legal. # The official tarball has to be always processed by the process-official-tarball # script. # Link to official tarball: https://archive.mozilla.org/pub/thunderbird/releases/%%{version}%%{?pre_version}/source/thunderbird-%%{version}%%{?pre_version}.source.tar.xz @@ -163,7 +164,7 @@ Source21: thunderbird.sh.in Source24: mozilla-api-key Source27: google-api-key Source28: node-stdout-nonblocking-wrapper -Source701: thunderbird-redhat-default-prefs.js.rhel7 +Source701: thunderbird-redhat-default-prefs.js.an7 Source403: nss-3.67.0-6.el8_1.src.rpm Source401: nss-setup-flags-env.inc @@ -1151,6 +1152,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : #=============================================================================== %changelog +* Wed Dec 29 2021 yangxianzhao - 91.3.0-2.0.1 +- Rebrand for Anolis + * Tue Nov 02 2021 Eike Rathke - 91.3.0-2 - Update to 19.3.0 build2 -- Gitee