AlmaLinux changes

This commit is contained in:
Andrew Lukoshko 2021-09-15 12:24:48 +00:00
parent 5534d7f1c0
commit f17f852148
3 changed files with 6 additions and 17 deletions

View File

@ -2,7 +2,7 @@ pref("app.update.enabled", false);
pref("app.update.autoInstallEnabled", false); pref("app.update.autoInstallEnabled", false);
# Allow users to set custom colors # Allow users to set custom colors
# pref("browser.display.use_system_colors", true); # pref("browser.display.use_system_colors", true);
pref("general.useragent.vendor", "Red Hat"); pref("general.useragent.vendor", "AlmaLinux");
pref("general.useragent.vendorSub", "THUNDERBIRD_RPM_VR"); pref("general.useragent.vendorSub", "THUNDERBIRD_RPM_VR");
pref("intl.locale.matchOS", true); pref("intl.locale.matchOS", true);
pref("mail.shell.checkDefaultClient", false); pref("mail.shell.checkDefaultClient", false);

View File

@ -2,7 +2,7 @@ pref("app.update.enabled", false);
pref("app.update.autoInstallEnabled", false); pref("app.update.autoInstallEnabled", false);
# Allow users to set custom colors # Allow users to set custom colors
# pref("browser.display.use_system_colors", true); # pref("browser.display.use_system_colors", true);
pref("general.useragent.vendor", "Red Hat"); pref("general.useragent.vendor", "AlmaLinux");
pref("general.useragent.vendorSub", "THUNDERBIRD_RPM_VR"); pref("general.useragent.vendorSub", "THUNDERBIRD_RPM_VR");
pref("intl.locale.matchOS", true); pref("intl.locale.matchOS", true);
pref("mail.shell.checkDefaultClient", false); pref("mail.shell.checkDefaultClient", false);

View File

@ -25,6 +25,8 @@ end}
%global rhel_minor_version %{lua:print(dist_to_rhel_minor(rpm.expand("%dist")))} %global rhel_minor_version %{lua:print(dist_to_rhel_minor(rpm.expand("%dist")))}
%global dist %{?dist}.alma
%global system_nss 1 %global system_nss 1
%global bundle_nss 0 %global bundle_nss 0
@ -234,8 +236,8 @@ Source301: yasm-1.2.0-3.el5.src.rpm
Source303: libffi-3.0.13-18.el7_3.src.rpm Source303: libffi-3.0.13-18.el7_3.src.rpm
Source304: nodejs-10.21.0-5.fc32.src.rpm Source304: nodejs-10.21.0-5.fc32.src.rpm
Source305: openssl-1.0.2k-19.6.bundle.el7_7.src.rpm Source305: openssl-1.0.2k-19.6.bundle.el7_7.src.rpm
Source601: thunderbird-redhat-default-prefs.js.rhel6 Source601: thunderbird-almalinux-default-prefs.js.rhel6
Source701: thunderbird-redhat-default-prefs.js.rhel7 Source701: thunderbird-almalinux-default-prefs.js.rhel7
## Firefox patches ## Firefox patches
@ -292,13 +294,6 @@ Patch514: mozilla-s390x-skia-gradient.patch
Patch515: mozilla-bmo1626236.patch Patch515: mozilla-bmo1626236.patch
Patch516: D87019-thin-vec-big-endian.diff Patch516: D87019-thin-vec-big-endian.diff
# CentOS patches
%if 0%{?centos}
Patch10000: Bug-1238661---fix-mozillaSignalTrampoline-to-work-.patch
Patch10001: Bug-1526653---fix_user_vfp_armv7.patch
%endif
# RHEL6 patches # RHEL6 patches
Patch600: rhel6-dbusver.patch Patch600: rhel6-dbusver.patch
Patch601: rhel6-kernel.patch Patch601: rhel6-kernel.patch
@ -630,12 +625,6 @@ sed -ie 's|/usr/include|/app/include|' %_sourcedir/firefox-pipewire-0-3.patch
%patch608 -p1 -b .rhel6-clock_gettime %patch608 -p1 -b .rhel6-clock_gettime
%endif %endif
# CentOS patches
%if 0%{?centos}
%patch10000 -p1 -b .mozilla-1238661
%patch10001 -p1 -b .mozilla-1526653
%endif
%{__rm} -f .mozconfig %{__rm} -f .mozconfig
%{__cp} %{SOURCE10} .mozconfig %{__cp} %{SOURCE10} .mozconfig
function add_to_mozconfig() { function add_to_mozconfig() {