|
|
|
@ -24,7 +24,7 @@ function dist_to_rhel_minor(str, start)
|
|
|
|
|
end
|
|
|
|
|
match = string.match(str, ".el8")
|
|
|
|
|
if match then
|
|
|
|
|
return 9
|
|
|
|
|
return 10
|
|
|
|
|
end
|
|
|
|
|
match = string.match(str, ".module%+el9.%d+")
|
|
|
|
|
if match then
|
|
|
|
@ -36,7 +36,7 @@ function dist_to_rhel_minor(str, start)
|
|
|
|
|
end
|
|
|
|
|
match = string.match(str, ".el9")
|
|
|
|
|
if match then
|
|
|
|
|
return 3
|
|
|
|
|
return 5
|
|
|
|
|
end
|
|
|
|
|
return -1
|
|
|
|
|
end}
|
|
|
|
@ -122,7 +122,7 @@ end}
|
|
|
|
|
# If set to .b2 or .b3 ... the processed source file needs to be renamed before upload, e.g.
|
|
|
|
|
# firefox-102.8.0esr.b2.processed-source.tar.xz
|
|
|
|
|
# When unset use processed source file name as is.
|
|
|
|
|
##global buildnum .b2
|
|
|
|
|
##global buildnum .b2
|
|
|
|
|
|
|
|
|
|
%bcond_without langpacks
|
|
|
|
|
|
|
|
|
@ -132,8 +132,8 @@ end}
|
|
|
|
|
|
|
|
|
|
Summary: Mozilla Firefox Web browser
|
|
|
|
|
Name: firefox
|
|
|
|
|
Version: 115.4.0
|
|
|
|
|
Release: 1%{?dist}.alma.1
|
|
|
|
|
Version: 115.11.0
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
URL: https://www.mozilla.org/firefox/
|
|
|
|
|
License: MPLv1.1 or GPLv2+ or LGPLv2+
|
|
|
|
|
|
|
|
|
@ -141,10 +141,15 @@ License: MPLv1.1 or GPLv2+ or LGPLv2+
|
|
|
|
|
ExcludeArch: %{ix86}
|
|
|
|
|
%endif
|
|
|
|
|
%if 0%{?rhel} == 8
|
|
|
|
|
# Started to ship on aarch64 in RHEL 8.2, on s390x in RHEL 8.3
|
|
|
|
|
%if %{rhel_minor_version} == 1
|
|
|
|
|
ExcludeArch: %{ix86} aarch64 s390x
|
|
|
|
|
ExcludeArch: %{ix86} s390x aarch64
|
|
|
|
|
%else
|
|
|
|
|
%if %{rhel_minor_version} == 2
|
|
|
|
|
ExcludeArch: %{ix86} s390x
|
|
|
|
|
%else
|
|
|
|
|
ExcludeArch: %{ix86}
|
|
|
|
|
%endif
|
|
|
|
|
%endif
|
|
|
|
|
%endif
|
|
|
|
|
%if 0%{?rhel} == 7
|
|
|
|
@ -158,12 +163,12 @@ ExcludeArch: aarch64 s390 ppc
|
|
|
|
|
# Link to original tarball: https://archive.mozilla.org/pub/firefox/releases/%%{version}%%{?pre_version}/source/firefox-%%{version}%%{?pre_version}.source.tar.xz
|
|
|
|
|
Source0: firefox-%{version}%{?pre_version}%{?buildnum}.processed-source.tar.xz
|
|
|
|
|
%if %{with langpacks}
|
|
|
|
|
Source1: firefox-langpacks-%{version}%{?pre_version}-20231017.tar.xz
|
|
|
|
|
Source1: firefox-langpacks-%{version}%{?pre_version}-20240507.tar.xz
|
|
|
|
|
%endif
|
|
|
|
|
Source2: cbindgen-vendor.tar.xz
|
|
|
|
|
Source3: process-official-tarball
|
|
|
|
|
Source10: firefox-mozconfig
|
|
|
|
|
Source12: firefox-almalinux-default-prefs.js
|
|
|
|
|
Source12: firefox-redhat-default-prefs.js
|
|
|
|
|
Source20: firefox.desktop
|
|
|
|
|
Source21: firefox.sh.in
|
|
|
|
|
Source23: firefox.1
|
|
|
|
@ -305,7 +310,7 @@ BuildRequires: rust >= %{rust_version}
|
|
|
|
|
|
|
|
|
|
%if 0%{?rhel} == 9
|
|
|
|
|
BuildRequires: cargo
|
|
|
|
|
BuildRequires: clang clang-libs llvm
|
|
|
|
|
BuildRequires: clang clang-libs llvm llvm-devel
|
|
|
|
|
BuildRequires: gcc
|
|
|
|
|
BuildRequires: gcc-c++
|
|
|
|
|
BuildRequires: python3-devel
|
|
|
|
@ -1116,6 +1121,13 @@ echo "ac_add_options --with-mozilla-api-keyfile=`pwd`/mozilla-api-key" >> .mozco
|
|
|
|
|
echo "ac_add_options --with-google-location-service-api-keyfile=`pwd`/google-loc-api-key" >> .mozconfig
|
|
|
|
|
echo "ac_add_options --with-google-safebrowsing-api-keyfile=`pwd`/google-api-key" >> .mozconfig
|
|
|
|
|
|
|
|
|
|
# May result in empty --with-libclang-path= in earlier versions.
|
|
|
|
|
# So far this is needed only for c8s.
|
|
|
|
|
%if 0%{?rhel} == 8 && %{rhel_minor_version} >= 10
|
|
|
|
|
# Clang 17 upstream's detection fails, tell it where to look.
|
|
|
|
|
echo "ac_add_options --with-libclang-path=`llvm-config --libdir`" >> .mozconfig
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
echo 'export NODEJS="%{_buildrootdir}/bin/node-stdout-nonblocking-wrapper"' >> .mozconfig
|
|
|
|
|
|
|
|
|
|
# Remove executable bit to make brp-mangle-shebangs happy.
|
|
|
|
@ -1619,6 +1631,17 @@ rm -rf %{buildroot}%{mozappdir}/gtk2/
|
|
|
|
|
ln -sf /usr/lib64/libnss3.so %{buildroot}%{_libdir}/libnss3.so
|
|
|
|
|
ln -sf /usr/lib64/pkcs11/p11-kit-client.so %{buildroot}%{_libdir}/libnssckbi.so
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
# clean the created bundled rpms if there are any
|
|
|
|
|
rm -rf %{_srcrpmdir}/libffi*.src.rpm
|
|
|
|
|
find %{_rpmdir} -name "libffi*.rpm" -delete
|
|
|
|
|
rm -rf %{_srcrpmdir}/openssl*.src.rpm
|
|
|
|
|
find %{_rpmdir} -name "openssl*.rpm" -delete
|
|
|
|
|
rm -rf %{_srcrpmdir}/nss*.src.rpm
|
|
|
|
|
find %{_rpmdir} -name "nss*.rpm" -delete
|
|
|
|
|
rm -rf %{_srcrpmdir}/nspr*.src.rpm
|
|
|
|
|
find %{_rpmdir} -name "nspr*.rpm" -delete
|
|
|
|
|
|
|
|
|
|
#---------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
@ -1632,16 +1655,6 @@ if [ $1 -eq 0 ]; then
|
|
|
|
|
%{__rm} -rf %{mozappdir}/plugins
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
%clean
|
|
|
|
|
rm -rf %{_srcrpmdir}/libffi*.src.rpm
|
|
|
|
|
find %{_rpmdir} -name "libffi*.rpm" -delete
|
|
|
|
|
rm -rf %{_srcrpmdir}/openssl*.src.rpm
|
|
|
|
|
find %{_rpmdir} -name "openssl*.rpm" -delete
|
|
|
|
|
rm -rf %{_srcrpmdir}/nss*.src.rpm
|
|
|
|
|
find %{_rpmdir} -name "nss*.rpm" -delete
|
|
|
|
|
rm -rf %{_srcrpmdir}/nspr*.src.rpm
|
|
|
|
|
find %{_rpmdir} -name "nspr*.rpm" -delete
|
|
|
|
|
|
|
|
|
|
%post
|
|
|
|
|
update-desktop-database &> /dev/null || :
|
|
|
|
|
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
|
|
|
|
@ -1727,8 +1740,36 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
|
|
|
|
#---------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Thu Nov 02 2023 Eduard Abdullin <eabdullin@almalinux.org> - 115.4.0-1.alma.1
|
|
|
|
|
- Debrand for AlmaLinux
|
|
|
|
|
* Tue May 07 2024 Eike Rathke <erack@redhat.com> - 115.11.0-1
|
|
|
|
|
- Update to 115.11.0 build1
|
|
|
|
|
|
|
|
|
|
* Tue Apr 09 2024 Eike Rathke <erack@redhat.com> - 115.10.0-1
|
|
|
|
|
- Update to 115.10.0 build1
|
|
|
|
|
|
|
|
|
|
* Tue Apr 09 2024 Jan Horak <jhorak@redhat.com> - 115.9.1-2
|
|
|
|
|
- Removed expat CVE fix
|
|
|
|
|
|
|
|
|
|
* Fri Mar 22 2024 Eike Rathke <erack@redhat.com> - 115.9.1-1
|
|
|
|
|
- Update to 115.9.1
|
|
|
|
|
|
|
|
|
|
* Fri Mar 15 2024 Eike Rathke <erack@redhat.com> - 115.9.0-2
|
|
|
|
|
- Update to 115.9.0 build2
|
|
|
|
|
|
|
|
|
|
* Tue Mar 12 2024 Eike Rathke <erack@redhat.com> - 115.9.0-1
|
|
|
|
|
- Update to 115.9.0 build1
|
|
|
|
|
- Fix expat CVE-2023-52425
|
|
|
|
|
|
|
|
|
|
* Tue Feb 13 2024 Eike Rathke <erack@redhat.com> - 115.8.0-1
|
|
|
|
|
- Update to 115.8.0 build1
|
|
|
|
|
|
|
|
|
|
* Tue Jan 16 2024 Eike Rathke <erack@redhat.com> - 115.7.0-1
|
|
|
|
|
- Update to 115.7.0 build1
|
|
|
|
|
|
|
|
|
|
* Tue Dec 12 2023 Eike Rathke <erack@redhat.com> - 115.6.0-1
|
|
|
|
|
- Update to 115.6.0 build1
|
|
|
|
|
|
|
|
|
|
* Tue Nov 14 2023 Eike Rathke <erack@redhat.com> - 115.5.0-1
|
|
|
|
|
- Update to 115.5.0 build1
|
|
|
|
|
|
|
|
|
|
* Tue Oct 17 2023 Eike Rathke <erack@redhat.com> - 115.4.0-1
|
|
|
|
|
- Update to 115.4.0 build1
|
|
|
|
@ -1755,6 +1796,7 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
|
|
|
|
|
|
|
|
|
* Thu May 04 2023 Eike Rathke <erack@redhat.com> - 102.11.0-2
|
|
|
|
|
- Update to 102.11.0 build2
|
|
|
|
|
|
|
|
|
|
* Tue May 02 2023 Eike Rathke <erack@redhat.com> - 102.11.0-1
|
|
|
|
|
- Update to 102.11.0 build1
|
|
|
|
|
|
|
|
|
@ -1763,6 +1805,7 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
|
|
|
|
|
|
|
|
|
* Fri Mar 10 2023 Eike Rathke <erack@redhat.com> - 102.9.0-4
|
|
|
|
|
- Update to 102.9.0 build2
|
|
|
|
|
|
|
|
|
|
* Thu Mar 09 2023 Jan Horak <jhorak@redhat.com> - 102.9.0-2
|
|
|
|
|
- removed disable-openh264-download
|
|
|
|
|
|
|
|
|
@ -1771,25 +1814,31 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
|
|
|
|
|
|
|
|
|
* Tue Feb 14 2023 Eike Rathke <erack@redhat.com> - 102.8.0-2
|
|
|
|
|
- Update to 102.8.0 build2
|
|
|
|
|
|
|
|
|
|
* Tue Feb 07 2023 Eike Rathke <erack@redhat.com> - 102.8.0-1
|
|
|
|
|
- Update to 102.8.0 build1
|
|
|
|
|
|
|
|
|
|
* Tue Jan 10 2023 Eike Rathke <erack@redhat.com> - 102.7.0-1
|
|
|
|
|
- Update to 102.7.0 build1
|
|
|
|
|
|
|
|
|
|
* Mon Jan 02 2023 Jan Horak <jhorak@redhat.com> - 102.6.0-2
|
|
|
|
|
- Add firefox-x11 subpackage to allow explicit run of firefox under x11 on RHEL9
|
|
|
|
|
|
|
|
|
|
* Tue Dec 06 2022 Eike Rathke <erack@redhat.com> - 102.6.0-1
|
|
|
|
|
- Update to 102.6.0 build1
|
|
|
|
|
|
|
|
|
|
* Fri Nov 25 2022 Jan Horak <jhorak@redhat.com> - 102.5.0-2
|
|
|
|
|
- Added libwebrtc screencast patch for newer features
|
|
|
|
|
|
|
|
|
|
* Wed Nov 09 2022 Eike Rathke <erack@redhat.com> - 102.5.0-1
|
|
|
|
|
- Update to 102.5.0 build1
|
|
|
|
|
|
|
|
|
|
* Wed Oct 12 2022 Eike Rathke <erack@redhat.com> - 102.4.0-1
|
|
|
|
|
- Update to 102.4.0 build1
|
|
|
|
|
|
|
|
|
|
* Tue Oct 11 2022 Jan Horak <jhorak@redhat.com> - 102.3.0-7
|
|
|
|
|
- Fix for expat CVE-2022-40674 and non functional webrtc
|
|
|
|
|
|
|
|
|
|
* Tue Sep 13 2022 Jan Horak <jhorak@redhat.com> - 102.3.0-6
|
|
|
|
|
- Update to 102.3.0 build1
|
|
|
|
|
|
|
|
|
|