AlmaLinux changes

This commit is contained in:
eabdullin 2022-10-07 12:19:33 +03:00
parent 75e4090cd9
commit c2da6052e5
3 changed files with 13 additions and 14 deletions

View File

@ -1,9 +1,9 @@
[Global] [Global]
id=redhat id=almalinux
version=1.0 version=1.0
about=Mozilla Firefox for Red Hat Enterprise Linux about=Mozilla Firefox for AlmaLinux
[Preferences] [Preferences]
app.distributor=redhat app.distributor=almalinux
app.distributor.channel=redhat app.distributor.channel=almalinux
app.partner.fedora=redhat app.partner.fedora=almalinux

View File

@ -14,8 +14,8 @@ pref("browser.shell.checkDefaultBrowser", false);
pref("network.manage-offline-status", true); pref("network.manage-offline-status", true);
pref("extensions.shownSelectionUI", true); pref("extensions.shownSelectionUI", true);
pref("ui.SpellCheckerUnderlineStyle", 1); pref("ui.SpellCheckerUnderlineStyle", 1);
pref("startup.homepage_override_url", "http://www.redhat.com"); pref("startup.homepage_override_url", "http://www.almalinux.org");
pref("startup.homepage_welcome_url", "http://www.redhat.com"); pref("startup.homepage_welcome_url", "http://www.almalinux.org");
pref("browser.startup.homepage", "data:text/plain,browser.startup.homepage=file:///%PREFIX%/share/doc/HTML/index.html"); pref("browser.startup.homepage", "data:text/plain,browser.startup.homepage=file:///%PREFIX%/share/doc/HTML/index.html");
pref("geo.wifi.uri", "https://location.services.mozilla.com/v1/geolocate?key=%MOZILLA_API_KEY%"); pref("geo.wifi.uri", "https://location.services.mozilla.com/v1/geolocate?key=%MOZILLA_API_KEY%");
pref("media.gmp-gmpopenh264.provider.enabled",false); pref("media.gmp-gmpopenh264.provider.enabled",false);

View File

@ -91,6 +91,8 @@ end}
# Build as a debug package? # Build as a debug package?
%global debug_build 0 %global debug_build 0
%global dist %{?dist}.alma
# We need to use full path because of flatpak where datadir is /app/share # We need to use full path because of flatpak where datadir is /app/share
%global default_bookmarks_file /usr/share/bookmarks/default-bookmarks.html %global default_bookmarks_file /usr/share/bookmarks/default-bookmarks.html
%global firefox_app_id \{ec8030f7-c20a-464f-9b0e-13a3a9e97384\} %global firefox_app_id \{ec8030f7-c20a-464f-9b0e-13a3a9e97384\}
@ -166,10 +168,7 @@ Source1: firefox-langpacks-%{version}%{?pre_version}-20220817.tar.xz
Source2: cbindgen-vendor.tar.xz Source2: cbindgen-vendor.tar.xz
Source3: process-official-tarball Source3: process-official-tarball
Source10: firefox-mozconfig Source10: firefox-mozconfig
%if 0%{?centos} Source12: firefox-almalinux-default-prefs.js
Source12: firefox-centos-default-prefs.js
%else
Source12: firefox-redhat-default-prefs.js
%endif %endif
Source20: firefox.desktop Source20: firefox.desktop
Source21: firefox.sh.in Source21: firefox.sh.in
@ -1162,9 +1161,6 @@ ln -s %{_datadir}/myspell %{buildroot}%{mozappdir}/dictionaries
%{__mkdir_p} %{buildroot}%{mozappdir}/distribution %{__mkdir_p} %{buildroot}%{mozappdir}/distribution
%{__cp} %{SOURCE26} %{buildroot}%{mozappdir}/distribution %{__cp} %{SOURCE26} %{buildroot}%{mozappdir}/distribution
%if 0%{?centos}
sed -i -e 's|Red Hat Enterprise|CentOS|' %{buildroot}%{mozappdir}/distribution/distribution.ini
%endif
# Remove copied libraries to speed up build # Remove copied libraries to speed up build
rm -f %{buildroot}%{mozappdirdev}/sdk/lib/libmozjs.so rm -f %{buildroot}%{mozappdirdev}/sdk/lib/libmozjs.so
@ -1271,6 +1267,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
#--------------------------------------------------------------------- #---------------------------------------------------------------------
%changelog %changelog
* Fri Oct 07 2022 Eduard Abdullin <eabdullin@almalinux.org> - 91.13.0-1.alma
- Debrand for AlmaLinux
* Wed Aug 17 2022 Eike Rathke <erack@redhat.com> - 91.13.0-1 * Wed Aug 17 2022 Eike Rathke <erack@redhat.com> - 91.13.0-1
- Update to 91.13.0 build1 - Update to 91.13.0 build1