3262b1
%global disable_toolsets  0
73cc96
# Produce a build suitable for release, i.e. use PGO/LTO. You can turn it off
73cc96
# when building locally to reduce build time.
73cc96
%global release_build     1
3262b1
73cc96
# Run Mozilla test suite as a part of compile rpm section. Turn off when
73cc96
# building locally and don't want to spend 24 hours waiting for results.
73cc96
%global run_firefox_tests 0
73cc96
%ifarch x86_64 %{ix86}
73cc96
%global run_firefox_tests 0
3262b1
%endif
3262b1
73cc96
# Don't create debuginfo rpm packages. It reduces build time as
73cc96
# exctracting debuginfo takes long time.
73cc96
%global create_debuginfo  1
73cc96
3262b1
%{lua:
3262b1
function dist_to_rhel_minor(str, start)
3262b1
  match = string.match(str, ".module%+el8.%d+")
3262b1
  if match then
3262b1
     return string.sub(match, 13)
3262b1
  end
3262b1
  match = string.match(str, ".el8_%d+")
3262b1
  if match then
3262b1
     return string.sub(match, 6)
3262b1
  end
3262b1
  match = string.match(str, ".el8")
3262b1
  if match then
2c691f
     return 7
3262b1
  end
3262b1
  return -1
3262b1
end}
3262b1
3262b1
%global rhel_minor_version %{lua:print(dist_to_rhel_minor(rpm.expand("%dist")))}
73cc96
73cc96
# Produce debug (non-optimized) package build. Suitable for debugging only
73cc96
# as the build is *very* slow.
73cc96
%global debug_build       0
3262b1
3262b1
%global system_nss        1
3262b1
%global bundle_nss        0
3262b1
13404b
%if 0%{?rhel} == 8
73cc96
  %if %{rhel_minor_version} <= 4
13404b
    %global bundle_nss        1
13404b
    %global system_nss        1
3262b1
  %endif
3262b1
%endif
3262b1
73cc96
%global build_with_asan   0
3262b1
13404b
%global use_llvmts        0
13404b
%global use_nodejsts      0
13404b
%if 0%{?rhel} < 8
13404b
%global use_llvmts        1
13404b
%global use_nodejsts      1
3262b1
%endif
73cc96
%if %{run_firefox_tests} 
73cc96
%global test_on_wayland   1
73cc96
%endif
73cc96
3262b1
13404b
%global nodejs_rb         nodejs
13404b
%global llvm_version      7.0
73cc96
%if "%{toolchain}" == "clang"
73cc96
%global build_with_clang 1
73cc96
%else
73cc96
%global build_with_clang 0
3262b1
%endif
3262b1
73cc96
%ifarch armv7hl
73cc96
%global create_debuginfo  0
73cc96
%endif
13404b
%if 0%{?rhel} == 7
13404b
  %global use_dts         1
13404b
  %global nodejs_rb       rh-nodejs10-nodejs
13404b
  %global llvm_version    11.0
3262b1
%endif
3262b1
73cc96
# Temporary disabled due to
73cc96
# https://bugzilla.redhat.com/show_bug.cgi?id=1951606
73cc96
%global enable_mozilla_crashreporter 0
73cc96
73cc96
%global system_ffi        1
73cc96
%ifarch armv7hl
73cc96
%global system_libvpx     1
73cc96
%else
73cc96
%global system_libvpx     0
73cc96
%endif
73cc96
%global hardened_build    1
73cc96
%global system_jpeg       1
73cc96
%global disable_elfhack   1
73cc96
%global use_bundled_cbindgen  1
73cc96
%if %{debug_build}
73cc96
%global release_build     0
73cc96
%endif
73cc96
# Build PGO+LTO on x86_64 only due to build issues
73cc96
# on other arches.
73cc96
%global build_with_pgo    0
73cc96
%ifarch x86_64
73cc96
%if %{release_build}
73cc96
%global build_with_pgo    0
73cc96
%endif
73cc96
%endif
3262b1
%global use_rustts        1
73cc96
%global dts_version       10
73cc96
%global rust_version      1.62
73cc96
%if 0%{?rhel} >= 8
13404b
  %global use_rustts      0
3262b1
%endif
73cc96
%if 0%{?flatpak}
73cc96
%global build_with_pgo    0
73cc96
%endif
13404b
3262b1
%if 0%{?disable_toolsets}
3262b1
%global use_rustts        0
3262b1
%global use_dts           0
3262b1
%global use_llvmts        0
73cc96
%global use_nodejsts      0
73cc96
%global nodejs_rb         nodejs
3262b1
%endif
3262b1
3262b1
# Big endian platforms
3262b1
%ifarch ppc64 s390x
3262b1
%global big_endian        1
3262b1
%endif
3262b1
73cc96
%if 0%{?build_with_pgo}
73cc96
%global use_xvfb          1
73cc96
%global build_tests       1
73cc96
%endif
3262b1
73cc96
%if 0%{?run_firefox_tests}
73cc96
%global use_xvfb          1
73cc96
%global build_tests       1
3262b1
%endif
3262b1
73cc96
%global launch_wayland_compositor 0
73cc96
%if %{build_with_pgo} && 0%{?test_on_wayland}
73cc96
%global launch_wayland_compositor 1
73cc96
%endif
73cc96
%if %{run_firefox_tests} && 0%{?test_on_wayland}
73cc96
%global launch_wayland_compositor 1
73cc96
%endif
3262b1
13404b
# We need to use full path because of flatpak where datadir is /app/share
3262b1
%global default_bookmarks_file  /usr/share/bookmarks/default-bookmarks.html
3262b1
%global firefox_app_id  \{ec8030f7-c20a-464f-9b0e-13a3a9e97384\}
3262b1
# Minimal required versions
73cc96
%global cairo_version 1.13.1
73cc96
%global freetype_version 2.1.9
73cc96
%global libnotify_version 0.7.0
73cc96
%if %{?system_libvpx}
73cc96
%global libvpx_version 1.8.2
73cc96
%endif
3262b1
73cc96
%if %{?system_nss}
73cc96
%global nspr_version 4.34
3262b1
%global nspr_build_version %{nspr_version}
73cc96
%global nss_version 3.79
3262b1
%global nss_build_version %{nss_version}
3262b1
%endif
3262b1
73cc96
%global mozappdir     %{_libdir}/firefox
73cc96
%global mozappdirdev  %{_libdir}/firefox-devel-%{version}
73cc96
%global langpackdir   %{mozappdir}/browser/extensions
73cc96
%global tarballdir    firefox-%{version}
3262b1
13404b
%define bundled_install_path %{mozappdir}/bundled
73cc96
%global official_branding       1
3262b1
3262b1
# We could use %%include, but in %%files, %%post and other sections, but in these
3262b1
# sections it could lead to syntax errors about unclosed %%if. Work around it by
3262b1
# using the following macro
3262b1
%define include_file() %{expand:%(cat '%1')}
3262b1
73cc96
%bcond_without langpacks
73cc96
3262b1
%global pre_version   esr
73cc96
%if !%{release_build}
73cc96
%global pre_tag .npgo
73cc96
%endif
73cc96
%if %{build_with_clang}
73cc96
%global pre_tag .clang
73cc96
%endif
73cc96
%if %{build_with_asan}
73cc96
%global pre_tag .asan
73cc96
%global build_with_pgo    0
73cc96
%endif
73cc96
%if !%{system_nss}
73cc96
%global nss_tag .nss
73cc96
%endif
73cc96
%if %{debug_build}
73cc96
%global pre_tag .debug
73cc96
%endif
3262b1
73cc96
# Exclude private libraries from autogenerated provides and requires
73cc96
%global __provides_exclude_from ^%{mozappdir}
73cc96
%global __requires_exclude ^(%%(find %{buildroot}%{mozappdir} -name '*.so' | xargs -n1 basename | sort -u | paste -s -d '|' -))
3262b1
3262b1
Summary:        Mozilla Firefox Web browser
3262b1
Name:           firefox
73cc96
Version:        102.8.0
2c691f
Release:        2%{?dist}
3262b1
URL:            https://www.mozilla.org/firefox/
3262b1
License:        MPLv1.1 or GPLv2+ or LGPLv2+
73cc96
73cc96
# Workaround the dreaded "upstream source file changed content" rpminspect failure.
73cc96
# If set to .b2 or .b3 ... the processed source file needs to be renamed before upload, e.g.
73cc96
# firefox-102.8.0esr.b2.processed-source.tar.xz
73cc96
# When unset use processed source file name as is.
73cc96
%global buildnum .b2
73cc96
13404b
%if 0%{?rhel} == 9
13404b
ExcludeArch:    %{ix86}
13404b
%endif
13404b
%if 0%{?rhel} == 8
74968f
  %if %{rhel_minor_version} == 1
74968f
ExcludeArch:    %{ix86} aarch64 s390x
74968f
  %else
13404b
ExcludeArch:    %{ix86}
74968f
  %endif
13404b
%endif
3262b1
%if 0%{?rhel} == 7
74968f
ExcludeArch:    aarch64 s390 ppc
3262b1
%endif
3262b1
# We can't use the official tarball as it contains some test files that use
3262b1
# licenses that are rejected by Red Hat Legal.
3262b1
# The official tarball has to be always processed by the process-official-tarball
73cc96
# script
73cc96
# Link to original tarball: https://archive.mozilla.org/pub/firefox/releases/%{version}%{?pre_version}/source/firefox-%{version}%{?pre_version}.source.tar.xz
73cc96
Source0:        firefox-%{version}%{?pre_version}%{?buildnum}.processed-source.tar.xz
73cc96
%if %{with langpacks}
73cc96
Source1:        firefox-langpacks-%{version}%{?pre_version}-20230214.tar.xz
3262b1
%endif
13404b
Source2:        cbindgen-vendor.tar.xz
3262b1
Source3:        process-official-tarball
3262b1
Source10:       firefox-mozconfig
3262b1
Source12:       firefox-redhat-default-prefs.js
3262b1
Source20:       firefox.desktop
3262b1
Source21:       firefox.sh.in
3262b1
Source23:       firefox.1
3262b1
Source24:       mozilla-api-key
3262b1
Source25:       firefox-symbolic.svg
3262b1
Source26:       distribution.ini
3262b1
Source27:       google-api-key
73cc96
Source30:       firefox-x11.sh.in
73cc96
Source31:       firefox-x11.desktop
73cc96
Source32:       node-stdout-nonblocking-wrapper
73cc96
Source33:       firefox.appdata.xml.in
73cc96
Source34:       firefox-search-provider.ini
73cc96
Source35:       google-loc-api-key
73cc96
Source37:       mochitest-python.tar.gz
73cc96
Source38:       print_results
73cc96
Source39:       print-errors
73cc96
Source40:       run-tests-x11
73cc96
Source41:       run-tests-wayland
73cc96
Source42:       psummary
73cc96
Source43:       print_failures
73cc96
Source44:       print-error-reftest
73cc96
Source45:       run-wayland-compositor
73cc96
Source403:      nss-3.79.0-6.el8_1.src.rpm
3262b1
Source401:      nss-setup-flags-env.inc
73cc96
Source402:      nspr-4.34.0-3.el8_1.src.rpm
13404b
3262b1
# Build patches
73cc96
Patch3:         mozilla-build-arm.patch
73cc96
Patch25:        rhbz-1219542-s390-build.patch
73cc96
# Fixing missing cacheFlush when JS_CODEGEN_NONE is used (s390x)
73cc96
Patch40:        build-aarch64-skia.patch
73cc96
Patch41:        build-disable-elfhack.patch
73cc96
Patch44:        build-arm-libopus.patch
73cc96
Patch47:        fedora-shebang-build.patch
73cc96
Patch49:        build-arm-libaom.patch
73cc96
Patch53:        firefox-gcc-build.patch
73cc96
Patch54:        mozilla-1669639.patch
73cc96
Patch71:        0001-GLIBCXX-fix-for-GCC-12.patch
73cc96
Patch72:        build-remove-dav1d-from-wayland-dep.patch
73cc96
Patch73:        build-ascii-decode-fail-rhel7.patch
73cc96
Patch75:        build-big-endian-errors.patch
73cc96
Patch76:        firefox-nss-version.patch
73cc96
Patch77:        mozilla-1775202.patch
73cc96
Patch78:        build-rhel7-lower-node-min-version.patch
73cc96
73cc96
73cc96
# Test patches
73cc96
# Generate without context by
73cc96
# GENDIFF_DIFF_ARGS=-U0 gendiff firefox-xxxx .firefox-tests-xpcshell
73cc96
# GENDIFF_DIFF_ARGS=-U0 gendiff firefox-xxxx .firefox-tests-reftest
73cc96
Patch102:       firefox-tests-xpcshell-freeze.patch
73cc96
73cc96
# Fedora specific patches
3262b1
Patch215:        firefox-enable-addons.patch
3262b1
Patch219:        rhbz-1173156.patch
3262b1
Patch224:        mozilla-1170092.patch
73cc96
#ARM run-time patch
73cc96
Patch226:        rhbz-1354671.patch
73cc96
Patch228:        disable-openh264-download.patch
73cc96
Patch229:        firefox-nss-addon-hack.patch
73cc96
Patch230:        D110204-fscreen.diff
73cc96
Patch231:        webrtc-nss-fix.patch
73cc96
# Backported WebRTC changes for PipeWire/Wayland screen sharing support
73cc96
Patch232:        libwebrtc-screen-cast-sync.patch
3262b1
3262b1
# Upstream patches
73cc96
Patch415:        mozilla-1670333.patch
73cc96
Patch416:        mozilla-bmo1005535.patch
73cc96
Patch417:        mozilla-bmo1504834-part1.patch
73cc96
Patch418:        mozilla-bmo1504834-part3.patch
73cc96
Patch419:        mozilla-bmo849632.patch
73cc96
Patch420:        mozilla-bmo998749.patch
73cc96
Patch421:        mozilla-s390x-skia-gradient.patch
73cc96
Patch422:        one_swizzle_to_rule_them_all.patch
73cc96
Patch423:        svg-rendering.patch
73cc96
Patch424:        D158770.diff
73cc96
73cc96
# PGO/LTO patches
73cc96
Patch600:        pgo.patch
73cc96
Patch602:        mozilla-1516803.patch
73cc96
73cc96
Patch1008:      build-rhel7-nasm-dwarf.patch
3262b1
3262b1
%if %{?system_nss}
3262b1
%if !0%{?bundle_nss}
3262b1
BuildRequires:  pkgconfig(nspr) >= %{nspr_version}
3262b1
BuildRequires:  pkgconfig(nss) >= %{nss_version}
3262b1
BuildRequires:  nss-static >= %{nss_version}
3262b1
%endif
3262b1
%endif
3262b1
BuildRequires:  pkgconfig(libpng)
73cc96
%if %{?system_jpeg}
3262b1
BuildRequires:  libjpeg-devel
73cc96
%endif
3262b1
BuildRequires:  zip
3262b1
BuildRequires:  bzip2-devel
3262b1
BuildRequires:  pkgconfig(zlib)
73cc96
BuildRequires:  pkgconfig(gtk+-3.0)
3262b1
BuildRequires:  pkgconfig(gtk+-2.0)
73cc96
BuildRequires:  pkgconfig(krb5)
3262b1
BuildRequires:  pkgconfig(pango)
73cc96
BuildRequires:  pkgconfig(freetype2) >= %{freetype_version}
3262b1
BuildRequires:  pkgconfig(xt)
73cc96
BuildRequires:  pkgconfig(xtst)
3262b1
BuildRequires:  pkgconfig(xrender)
3262b1
BuildRequires:  pkgconfig(libstartup-notification-1.0)
73cc96
BuildRequires:  pkgconfig(libnotify) >= %{libnotify_version}
3262b1
BuildRequires:  pkgconfig(dri)
3262b1
BuildRequires:  pkgconfig(libcurl)
73cc96
BuildRequires:  pkgconfig(alsa)
73cc96
BuildRequires:  libstdc++-devel
73cc96
BuildRequires:  libstdc++-static
3262b1
BuildRequires:  dbus-glib-devel
73cc96
%if %{?system_libvpx}
73cc96
BuildRequires:  libvpx-devel >= %{libvpx_version}
73cc96
%endif
3262b1
BuildRequires:  m4
13404b
BuildRequires:  pkgconfig(libpulse)
13404b
3262b1
%if 0%{?use_dts}
3262b1
BuildRequires:  devtoolset-%{dts_version}-gcc-c++
3262b1
BuildRequires:  devtoolset-%{dts_version}-gcc
3262b1
BuildRequires:  devtoolset-%{dts_version}-libatomic-devel
3262b1
%endif
13404b
%if 0%{?rhel} == 9
13404b
BuildRequires:  gcc
13404b
BuildRequires:  gcc-c++
13404b
BuildRequires:  cargo
13404b
BuildRequires:  rust
13404b
BuildRequires:  clang clang-libs llvm
3262b1
%endif
73cc96
BuildRequires:  %{nodejs_rb} >= 10.21
73cc96
%if 0%{?rhel} == 7
3262b1
BuildRequires:  scl-utils
3262b1
BuildRequires:  findutils
73cc96
%endif
13404b
%if 0%{?rhel} == 8
3262b1
BuildRequires:  cargo
3262b1
BuildRequires:  rust >= %{rust_version}
3262b1
BuildRequires:  llvm >= %{llvm_version}
3262b1
BuildRequires:  llvm-devel >= %{llvm_version}
3262b1
BuildRequires:  clang >= %{llvm_version}
3262b1
BuildRequires:  clang-devel >= %{llvm_version}
3262b1
BuildRequires:  rustfmt >= %{rust_version}
73cc96
%endif
73cc96
3262b1
%if 0%{?use_rustts}
13404b
BuildRequires:  rust-toolset-%{rust_version}
3262b1
%endif
73cc96
3262b1
%if 0%{?use_llvmts}
3262b1
BuildRequires:  llvm-toolset-%{llvm_version}
3262b1
BuildRequires:  llvm-toolset-%{llvm_version}-llvm-devel
13404b
BuildRequires:  llvm-toolset-%{llvm_version}-clang
13404b
BuildRequires:  llvm-toolset-%{llvm_version}-clang-devel
3262b1
%endif
3262b1
3262b1
73cc96
%if 0%{?rhel} > 7
3262b1
BuildRequires:  pipewire-devel
3262b1
%endif
3262b1
73cc96
%if !0%{?use_bundled_cbindgen}
73cc96
BuildRequires:  cbindgen
73cc96
%endif
73cc96
BuildRequires:  nasm >= 1.13
73cc96
BuildRequires:  libappstream-glib
3262b1
73cc96
%if 0%{?big_endian}
73cc96
BuildRequires:  icu
73cc96
%endif
3262b1
# Bundled nss/nspr requirement
3262b1
%if 0%{?bundle_nss}
3262b1
BuildRequires:    nss-softokn
3262b1
BuildRequires:    sqlite-devel
3262b1
BuildRequires:    zlib-devel
3262b1
BuildRequires:    pkgconfig
3262b1
BuildRequires:    gawk
3262b1
BuildRequires:    psmisc
3262b1
BuildRequires:    perl-interpreter
3262b1
BuildRequires:    gcc-c++
3262b1
BuildRequires:    xmlto
3262b1
%endif
13404b
3262b1
Requires:       mozilla-filesystem
73cc96
#not known or rhel7
73cc96
#Recommends:     mozilla-openh264 >= 2.1.1
73cc96
#Recommends:     libva
3262b1
Requires:       p11-kit-trust
73cc96
Requires:       pciutils-libs
3262b1
%if %{?system_nss}
3262b1
%if !0%{?bundle_nss}
3262b1
Requires:       nspr >= %{nspr_build_version}
3262b1
Requires:       nss >= %{nss_build_version}
3262b1
%endif
3262b1
%endif
73cc96
BuildRequires:  python3-devel
73cc96
BuildRequires:  python3-setuptools
3262b1
3262b1
BuildRequires:  desktop-file-utils
3262b1
Requires:       redhat-indexhtml
3262b1
73cc96
%if !0%{?flatpak}
73cc96
#TODO
73cc96
BuildRequires:  system-bookmarks
3262b1
%endif
73cc96
%if %{?system_ffi}
3262b1
BuildRequires:  pkgconfig(libffi)
73cc96
%endif
3262b1
73cc96
%if 0%{?use_xvfb}
73cc96
BuildRequires:  xorg-x11-server-Xvfb
3262b1
%endif
73cc96
%if %{build_with_asan}
73cc96
BuildRequires:  libasan
73cc96
BuildRequires:  libasan-static
73cc96
%endif
73cc96
BuildRequires:  perl-interpreter
73cc96
#BuildRequires:  fdk-aac-free-devel not on rhel8
73cc96
%if 0%{?test_on_wayland}
73cc96
BuildRequires:  mutter
73cc96
BuildRequires:  gsettings-desktop-schemas
73cc96
BuildRequires:  gnome-settings-daemon
73cc96
BuildRequires:  mesa-dri-drivers
73cc96
BuildRequires:  xorg-x11-server-Xwayland
73cc96
BuildRequires:  dbus-x11
73cc96
BuildRequires:  gnome-keyring
73cc96
%endif
73cc96
%if 0%{?run_firefox_tests}
73cc96
BuildRequires:  procps-ng
73cc96
BuildRequires:  nss-tools
73cc96
BuildRequires:  dejavu-sans-mono-fonts
73cc96
BuildRequires:  dejavu-sans-fonts
73cc96
BuildRequires:  dejavu-serif-fonts
73cc96
BuildRequires:  dbus-x11
73cc96
BuildRequires:  gnome-keyring
73cc96
BuildRequires:  mesa-dri-drivers
73cc96
# ----------------------------------------
73cc96
BuildRequires:  liberation-fonts-common
73cc96
BuildRequires:  liberation-mono-fonts
73cc96
BuildRequires:  liberation-sans-fonts
73cc96
BuildRequires:  liberation-serif-fonts
73cc96
# ----------------------------------
73cc96
# Missing on f32
73cc96
%if 0%{?fedora} > 33
73cc96
BuildRequires:  google-carlito-fonts
73cc96
%endif
73cc96
BuildRequires:  google-droid-sans-fonts
73cc96
BuildRequires:  google-noto-fonts-common
73cc96
BuildRequires:  google-noto-cjk-fonts-common
73cc96
BuildRequires:  google-noto-sans-cjk-ttc-fonts
73cc96
BuildRequires:  google-noto-sans-gurmukhi-fonts
73cc96
BuildRequires:  google-noto-sans-fonts
73cc96
BuildRequires:  google-noto-emoji-color-fonts
73cc96
BuildRequires:  google-noto-sans-sinhala-vf-fonts
73cc96
# -----------------------------------
73cc96
BuildRequires:  thai-scalable-fonts-common
73cc96
BuildRequires:  thai-scalable-waree-fonts
73cc96
BuildRequires:  khmeros-base-fonts
73cc96
BuildRequires:  jomolhari-fonts
73cc96
# ----------------------------------
73cc96
BuildRequires:  lohit-tamil-fonts
73cc96
BuildRequires:  lohit-telugu-fonts
73cc96
# ----------------------------------
73cc96
BuildRequires:  paktype-naskh-basic-fonts
73cc96
# faild to build in Koji / f32
73cc96
%if 0%{?fedora} > 33
73cc96
BuildRequires:  pt-sans-fonts
73cc96
%endif
73cc96
BuildRequires:  smc-meera-fonts
73cc96
BuildRequires:  stix-fonts
73cc96
BuildRequires:  abattis-cantarell-fonts
73cc96
BuildRequires:  xorg-x11-fonts-ISO8859-1-100dpi
73cc96
BuildRequires:  xorg-x11-fonts-misc
73cc96
%endif
73cc96
BuildRequires:  make
73cc96
BuildRequires:  pciutils-libs
3262b1
3262b1
Obsoletes:      mozilla <= 37:1.7.13
3262b1
Provides:       webclient
73cc96
%if 0%{?rhel} == 8 && %{rhel_minor_version} < 6
73cc96
%ifarch aarch64
73cc96
BuildRequires: gcc-toolset-12-annobin-plugin-gcc
73cc96
%endif
73cc96
%endif
3262b1
3262b1
# Bundled libraries
3262b1
Provides: bundled(angle)
73cc96
Provides: bundled(audioipc-2)
73cc96
Provides: bundled(brotli)
3262b1
Provides: bundled(cairo)
73cc96
Provides: bundled(cfworker)
73cc96
Provides: bundled(d3.js)
73cc96
Provides: bundled(double-conversion)
73cc96
Provides: bundled(expat)
73cc96
Provides: bundled(fdlibm)
73cc96
Provides: bundled(ffvpx)
73cc96
Provides: bundled(freetype2)
3262b1
Provides: bundled(graphite2)
3262b1
Provides: bundled(harfbuzz)
73cc96
Provides: bundled(highway)
73cc96
Provides: bundled(intgemm)
3262b1
Provides: bundled(kissfft)
3262b1
Provides: bundled(libaom)
3262b1
Provides: bundled(libcubeb)
3262b1
Provides: bundled(libdav1d)
3262b1
Provides: bundled(libjpeg)
73cc96
Provides: bundled(libjxl)
73cc96
Provides: bundled(libjxl)
73cc96
Provides: bundled(libmar)
3262b1
Provides: bundled(libmkv)
3262b1
Provides: bundled(libnestegg)
3262b1
Provides: bundled(libogg)
3262b1
Provides: bundled(libopus)
3262b1
Provides: bundled(libpng)
73cc96
Provides: bundled(libprio)
3262b1
Provides: bundled(libsoundtouch)
3262b1
Provides: bundled(libspeex_resampler)
73cc96
Provides: bundled(libsrtp)
3262b1
Provides: bundled(libtheora)
3262b1
Provides: bundled(libtremor)
3262b1
Provides: bundled(libvorbis)
3262b1
Provides: bundled(libvpx)
3262b1
Provides: bundled(libwebp)
73cc96
Provides: bundled(libwebrtc)
3262b1
Provides: bundled(libyuv)
3262b1
Provides: bundled(mp4parse-rust)
73cc96
Provides: bundled(mp4parse-rust)
73cc96
Provides: bundled(msgpack-c)
73cc96
Provides: bundled(msgpack-c)
3262b1
Provides: bundled(mtransport)
3262b1
Provides: bundled(openmax_dl)
73cc96
Provides: bundled(openmax_il)
73cc96
Provides: bundled(openmax_il)
73cc96
Provides: bundled(ots)
73cc96
Provides: bundled(qcms)
73cc96
Provides: bundled(rlbox_sandboxing_api)
73cc96
Provides: bundled(sfntly)
73cc96
Provides: bundled(sipcc)
73cc96
Provides: bundled(skia)
73cc96
Provides: bundled(sqlite3)
73cc96
Provides: bundled(thebes)
73cc96
Provides: bundled(wasm2c)
73cc96
Provides: bundled(WebRender)
3262b1
Provides: bundled(woff2)
3262b1
Provides: bundled(xz-embedded)
73cc96
Provides: bundled(ycbcr)
3262b1
Provides: bundled(zlib)
3262b1
13404b
%if 0%{?bundle_nss}
73cc96
Provides: bundled(nss) = 3.79.0
73cc96
Provides: bundled(nspr) = 4.34.0
13404b
%endif
13404b
3262b1
%description
3262b1
Mozilla Firefox is an open-source web browser, designed for standards
3262b1
compliance, performance and portability.
3262b1
73cc96
%if 0%{?run_firefox_tests}
73cc96
%global testsuite_pkg_name %{name}-testresults
3262b1
%package -n %{testsuite_pkg_name}
3262b1
Summary: Results of testsuite
3262b1
%description -n %{testsuite_pkg_name}
3262b1
This package contains results of tests executed during build.
3262b1
%files -n %{testsuite_pkg_name}
73cc96
/%{version}-%{release}/test_results
73cc96
/%{version}-%{release}/test_summary.txt
73cc96
/%{version}-%{release}/failures-*
73cc96
%endif
73cc96
73cc96
%if 0%{?rhel} >= 9
73cc96
%package x11
73cc96
Summary: Firefox X11 launcher.
73cc96
Requires: %{name}
73cc96
%description x11
73cc96
The firefox-x11 package contains launcher and desktop file
73cc96
to run Firefox explicitly on X11.
73cc96
%files x11
73cc96
%{_bindir}/firefox-x11
73cc96
%{_datadir}/applications/firefox-x11.desktop
3262b1
%endif
3262b1
3262b1
#---------------------------------------------------------------------
73cc96
3262b1
%prep
3262b1
echo "Build environment"
3262b1
echo "dist                  %{?dist}"
73cc96
echo "RHEL 8 minor version: %{?rhel_minor_version}"
3262b1
echo "use_bundled_ffi       %{?use_bundled_ffi}"
3262b1
echo "bundle_nss            %{?bundle_nss}"
3262b1
echo "system_nss            %{?system_nss}"
3262b1
echo "use_rustts            %{?use_rustts}"
3262b1
3262b1
%setup -q -n %{tarballdir}
73cc96
3262b1
# Build patches, can't change backup suffix from default because during build
3262b1
# there is a compare of config and js/config directories and .orig suffix is
3262b1
# ignored during this compare.
3262b1
73cc96
%ifarch s390
73cc96
%patch25 -p1 -b .rhbz-1219542-s390
73cc96
%endif
73cc96
%patch40 -p1 -b .aarch64-skia
73cc96
%if 0%{?disable_elfhack}
73cc96
%patch41 -p1 -b .disable-elfhack
73cc96
%endif
73cc96
%patch3  -p1 -b .arm
73cc96
%patch44 -p1 -b .build-arm-libopus
73cc96
%patch47 -p1 -b .fedora-shebang
73cc96
%patch49 -p1 -b .build-arm-libaom
73cc96
%patch53 -p1 -b .firefox-gcc-build
73cc96
%patch54 -p1 -b .1669639
73cc96
%patch71 -p1 -b .0001-GLIBCXX-fix-for-GCC-12
73cc96
%patch72 -p1 -b .build-remove-dav1d-from-wayland-dep
73cc96
73cc96
%patch75 -p1 -b .build-big-endian-errors
73cc96
%patch76 -p1 -b .firefox-nss-version
73cc96
#ppc64le build failure because of webrtc
73cc96
%patch77 -p1 -b .mozilla-1775202
73cc96
73cc96
%patch73 -p1 -b .build-ascii-decode-fail-rhel7
73cc96
%if 0%{?rhel} == 7
73cc96
%patch78 -p1 -b .build-rhel7-lower-node-min-version
73cc96
%endif
73cc96
73cc96
# Test patches
73cc96
%patch102 -p1 -b .firefox-tests-xpcshell-freeze
3262b1
3262b1
# Fedora patches
3262b1
%patch215 -p1 -b .addons
3262b1
%patch219 -p1 -b .rhbz-1173156
3262b1
%patch224 -p1 -b .1170092
73cc96
#ARM run-time patch
73cc96
%ifarch aarch64
73cc96
%patch226 -p1 -b .1354671
73cc96
%endif
73cc96
%patch228 -p1 -b .disable-openh264-download
73cc96
%patch229 -p1 -b .firefox-nss-addon-hack
73cc96
%patch230 -p1 -b .D110204-fscreen.diff
73cc96
%patch231 -p1 -b .webrtc-nss-fix
73cc96
%patch232 -p1 -b .libwebrtc-screen-cast-sync
73cc96
73cc96
%patch415 -p1 -b .1670333
73cc96
%patch416 -p1 -b .mozilla-bmo1005535
73cc96
%patch417 -p1 -b .mozilla-bmo1504834-part1
73cc96
%patch418 -p1 -b .mozilla-bmo1504834-part3
73cc96
%patch419 -p1 -b .mozilla-bmo849632
73cc96
%patch420 -p1 -b .mozilla-bmo998749
73cc96
%patch421 -p1 -b .mozilla-s390x-skia-gradient
73cc96
%patch422 -p1 -b .one_swizzle_to_rule_them_all
73cc96
%patch423 -p1 -b .svg-rendering
73cc96
%patch424 -p1 -b .D158770.diff
73cc96
73cc96
# PGO patches
73cc96
%if %{build_with_pgo}
73cc96
%if !%{build_with_clang}
73cc96
%patch600 -p1 -b .pgo
73cc96
%patch602 -p1 -b .1516803
74968f
%endif
3262b1
%endif
3262b1
13404b
%if 0%{?rhel} == 7
13404b
  %ifarch %{ix86}
13404b
# -F dwarf not available in RHEL7's nasm
13404b
%patch1008 -p1 -b .build-rhel7-nasm-dwarf
13404b
  %endif
13404b
%endif
3262b1
73cc96
73cc96
3262b1
%{__rm} -f .mozconfig
3262b1
%{__cp} %{SOURCE10} .mozconfig
73cc96
echo "ac_add_options --enable-default-toolkit=cairo-gtk3-wayland" >> .mozconfig
3262b1
%if %{official_branding}
3262b1
echo "ac_add_options --enable-official-branding" >> .mozconfig
3262b1
%endif
3262b1
%{__cp} %{SOURCE24} mozilla-api-key
3262b1
%{__cp} %{SOURCE27} google-api-key
73cc96
%{__cp} %{SOURCE35} google-loc-api-key
73cc96
73cc96
echo "ac_add_options --prefix=\"%{_prefix}\"" >> .mozconfig
73cc96
echo "ac_add_options --libdir=\"%{_libdir}\"" >> .mozconfig
3262b1
3262b1
%if %{?system_nss}
3262b1
echo "ac_add_options --with-system-nspr" >> .mozconfig
3262b1
echo "ac_add_options --with-system-nss" >> .mozconfig
3262b1
%else
3262b1
echo "ac_add_options --without-system-nspr" >> .mozconfig
3262b1
echo "ac_add_options --without-system-nss" >> .mozconfig
3262b1
%endif
3262b1
73cc96
%if %{?system_ffi}
73cc96
echo "ac_add_options --enable-system-ffi" >> .mozconfig
73cc96
%endif
73cc96
73cc96
%ifarch %{arm}
3262b1
echo "ac_add_options --disable-elf-hack" >> .mozconfig
3262b1
%endif
3262b1
3262b1
%if %{?debug_build}
3262b1
echo "ac_add_options --enable-debug" >> .mozconfig
3262b1
echo "ac_add_options --disable-optimize" >> .mozconfig
3262b1
%else
73cc96
%global optimize_flags "none"
13404b
%ifarch s390x
73cc96
%global optimize_flags "-g -O1"
3262b1
%endif
3262b1
%ifarch ppc64le aarch64
3262b1
%global optimize_flags "-g -O2"
3262b1
%endif
3262b1
%if %{optimize_flags} != "none"
3262b1
echo 'ac_add_options --enable-optimize=%{?optimize_flags}' >> .mozconfig
3262b1
%else
3262b1
echo 'ac_add_options --enable-optimize' >> .mozconfig
3262b1
%endif
3262b1
echo "ac_add_options --disable-debug" >> .mozconfig
3262b1
%endif
3262b1
3262b1
# Second arches fail to start with jemalloc enabled
3262b1
%ifnarch %{ix86} x86_64
3262b1
echo "ac_add_options --disable-jemalloc" >> .mozconfig
3262b1
%endif
3262b1
73cc96
%if 0%{?build_tests}
73cc96
echo "ac_add_options --enable-tests" >> .mozconfig
73cc96
%else
73cc96
echo "ac_add_options --disable-tests" >> .mozconfig
3262b1
%endif
3262b1
73cc96
%if !%{?system_jpeg}
73cc96
echo "ac_add_options --without-system-jpeg" >> .mozconfig
73cc96
%else
73cc96
echo "ac_add_options --with-system-jpeg" >> .mozconfig
3262b1
%endif
3262b1
73cc96
%if %{?system_libvpx}
73cc96
echo "ac_add_options --with-system-libvpx" >> .mozconfig
73cc96
%else
73cc96
echo "ac_add_options --without-system-libvpx" >> .mozconfig
73cc96
%endif
73cc96
73cc96
%ifarch s390 s390x
3262b1
echo "ac_add_options --disable-jit" >> .mozconfig
3262b1
%endif
3262b1
73cc96
%if %{build_with_asan}
73cc96
echo "ac_add_options --enable-address-sanitizer" >> .mozconfig
73cc96
echo "ac_add_options --disable-jemalloc" >> .mozconfig
3262b1
%endif
73cc96
73cc96
%if !%{enable_mozilla_crashreporter}
73cc96
echo "ac_add_options --disable-crashreporter" >> .mozconfig
3262b1
%endif
3262b1
13404b
# AV1 requires newer nasm that was rebased in 8.4
13404b
%if 0%{?rhel} == 7 || (0%{?rhel} == 8 && %{rhel_minor_version} < 4)
13404b
echo "ac_add_options --disable-av1" >> .mozconfig
13404b
%endif
13404b
73cc96
# api keys full path
73cc96
echo "ac_add_options --with-mozilla-api-keyfile=`pwd`/mozilla-api-key" >> .mozconfig
73cc96
# It seems that the api key we have is for the safe browsing only
73cc96
echo "ac_add_options --with-google-location-service-api-keyfile=`pwd`/google-loc-api-key" >> .mozconfig
73cc96
echo "ac_add_options --with-google-safebrowsing-api-keyfile=`pwd`/google-api-key" >> .mozconfig
73cc96
3262b1
echo 'export NODEJS="%{_buildrootdir}/bin/node-stdout-nonblocking-wrapper"' >> .mozconfig
3262b1
3262b1
# Remove executable bit to make brp-mangle-shebangs happy.
3262b1
chmod -x third_party/rust/itertools/src/lib.rs
3262b1
chmod a-x third_party/rust/ash/src/extensions/ext/*.rs
3262b1
chmod a-x third_party/rust/ash/src/extensions/khr/*.rs
3262b1
chmod a-x third_party/rust/ash/src/extensions/nv/*.rs
3262b1
3262b1
#---------------------------------------------------------------------
3262b1
3262b1
%build
3262b1
# Disable LTO to work around rhbz#1883904
3262b1
%define _lto_cflags %{nil}
3262b1
export PATH="%{_buildrootdir}/bin:$PATH"
73cc96
# Cleanup buildroot for existing rpms from bundled nss/nspr and other packages
73cc96
rm -rf %{_buildrootdir}/*
3262b1
3262b1
function install_rpms_to_current_dir() {
3262b1
    PACKAGE_RPM=$(eval echo $1)
3262b1
    PACKAGE_DIR=%{_rpmdir}
3262b1
3262b1
    if [ ! -f $PACKAGE_DIR/$PACKAGE_RPM ]; then
3262b1
        # Hack for tps tests
3262b1
        ARCH_STR=%{_arch}
13404b
        %ifarch %{ix86}
3262b1
            ARCH_STR="i?86"
3262b1
        %endif
3262b1
        PACKAGE_DIR="$PACKAGE_DIR/$ARCH_STR"
3262b1
     fi
3262b1
3262b1
     for package in $(ls $PACKAGE_DIR/$PACKAGE_RPM)
3262b1
     do
3262b1
         echo "$package"
3262b1
         rpm2cpio "$package" | cpio -idu
3262b1
     done
3262b1
}
3262b1
%if 0%{?bundle_nss}
13404b
  rpm -ivh %{SOURCE402}
13404b
  #rpmbuild --nodeps --define '_prefix %{bundled_install_path}' --without=tests -ba %{_specdir}/nspr.spec
13404b
  rpmbuild --nodeps --define '_prefix %{bundled_install_path}' --without=tests -ba %{_specdir}/nspr.spec
13404b
  pushd %{_buildrootdir}
13404b
  install_rpms_to_current_dir nspr-4*.rpm
13404b
  install_rpms_to_current_dir nspr-devel*.rpm
13404b
  popd
13404b
  echo "Setting nspr flags"
13404b
  # nss-setup-flags-env.inc
13404b
  sed -i 's@%{bundled_install_path}@%{_buildrootdir}%{bundled_install_path}@g' %{_buildrootdir}%{bundled_install_path}/%{_lib}/pkgconfig/nspr*.pc
73cc96
  cat %{_buildrootdir}%{bundled_install_path}/%{_lib}/pkgconfig/nspr*.pc
13404b
13404b
  export LDFLAGS="-L%{_buildrootdir}%{bundled_install_path}/%{_lib} $LDFLAGS"
13404b
  export LDFLAGS="-Wl,-rpath,%{bundled_install_path}/%{_lib} $LDFLAGS"
13404b
  export LDFLAGS="-Wl,-rpath-link,%{_buildrootdir}%{bundled_install_path}/%{_lib} $LDFLAGS"
13404b
  export PKG_CONFIG_PATH=%{_buildrootdir}%{bundled_install_path}/%{_lib}/pkgconfig
73cc96
  pkg-config --libs-only-L nspr
73cc96
  pkg-config --libs nspr
73cc96
  export PATH="%{_buildrootdir}%{bundled_install_path}/bin:$PATH"
13404b
13404b
  export PATH=%{_buildrootdir}/%{bundled_install_path}/bin:$PATH
13404b
  echo $PKG_CONFIG_PATH
13404b
13404b
  rpm -ivh %{SOURCE403}
74968f
  rpmbuild --nodeps --define '_prefix %{bundled_install_path}' --without=tests -ba %{_specdir}/nss.spec
13404b
  pushd %{_buildrootdir}
13404b
  #cleanup
13404b
  install_rpms_to_current_dir nss-3*.rpm
13404b
  install_rpms_to_current_dir nss-devel*.rpm
13404b
  install_rpms_to_current_dir nss-pkcs11-devel*.rpm
13404b
  install_rpms_to_current_dir nss-softokn-3*.rpm
13404b
  install_rpms_to_current_dir nss-softokn-devel*.rpm
13404b
  install_rpms_to_current_dir nss-softokn-freebl-3*.rpm
13404b
  install_rpms_to_current_dir nss-softokn-freebl-devel*.rpm
13404b
  install_rpms_to_current_dir nss-util-3*.rpm
13404b
  install_rpms_to_current_dir nss-util-devel*.rpm
13404b
  popd
13404b
  %filter_provides_in %{bundled_install_path}/%{_lib}
13404b
  %filter_requires_in %{bundled_install_path}/%{_lib}
3262b1
  %filter_from_requires /libnss3.so.*/d
3262b1
  %filter_from_requires /libsmime3.so.*/d
3262b1
  %filter_from_requires /libssl3.so.*/d
3262b1
  %filter_from_requires /libnssutil3.so.*/d
3262b1
  %filter_from_requires /libnspr4.so.*/d
13404b
  find %{_buildrootdir}
3262b1
%endif
3262b1
3262b1
set +e
73cc96
%if 0%{?rhel} == 8 && %{rhel_minor_version} < 6
73cc96
%ifarch aarch64
73cc96
source scl_source enable gcc-toolset-12
73cc96
%endif
73cc96
%endif
3262b1
%if 0%{?use_dts}
3262b1
source scl_source enable devtoolset-%{dts_version}
3262b1
%endif
3262b1
%if 0%{?use_rustts}
13404b
source scl_source enable rust-toolset-%{rust_version}
13404b
%endif
13404b
%if 0%{?use_nodejsts}
13404b
source scl_source enable rh-nodejs10
3262b1
%endif
73cc96
%if 0%{?use_llvmts}
73cc96
source scl_source enable llvm-toolset-%{llvm_version}
73cc96
%endif
3262b1
73cc96
set -e
3262b1
env
3262b1
which gcc
3262b1
which c++
3262b1
which g++
3262b1
which ld
13404b
which nasm
73cc96
which node
73cc96
%if 0%{?use_bundled_cbindgen}
3262b1
mkdir -p my_rust_vendor
3262b1
cd my_rust_vendor
3262b1
%{__tar} xf %{SOURCE2}
3262b1
mkdir -p .cargo
3262b1
cat > .cargo/config <
3262b1
[source.crates-io]
3262b1
replace-with = "vendored-sources"
3262b1
3262b1
[source.vendored-sources]
73cc96
directory = "`pwd`"
3262b1
EOL
3262b1
73cc96
%ifarch aarch64
73cc96
#export RUSTFLAGS="-Cdebuginfo=0 -Clinker=/opt/rh/gcc-toolset-12/root/usr/bin/gcc"
73cc96
%endif
3262b1
73cc96
env CARGO_HOME=.cargo cargo install cbindgen
73cc96
export PATH=`pwd`/.cargo/bin:$PATH
73cc96
cd -
73cc96
%endif
3262b1
3262b1
mkdir %{_buildrootdir}/bin || :
73cc96
cp %{SOURCE32} %{_buildrootdir}/bin || :
3262b1
3262b1
# Update the various config.guess to upstream release for aarch64 support
73cc96
# Do not update config.guess in the ./third_party/rust because that would break checksums
73cc96
find ./ -path ./third_party/rust -prune -o -name config.guess -exec cp /usr/lib/rpm/config.guess {} ';'
73cc96
3262b1
MOZ_OPT_FLAGS=$(echo "%{optflags}" | %{__sed} -e 's/-Wall//')
3262b1
#rhbz#1037063
3262b1
# -Werror=format-security causes build failures when -Wno-format is explicitly given
3262b1
# for some sources
3262b1
# Explicitly force the hardening flags for Firefox so it passes the checksec test;
3262b1
# See also https://fedoraproject.org/wiki/Changes/Harden_All_Packages
73cc96
%if 0%{?fedora} < 30
3262b1
MOZ_OPT_FLAGS="$MOZ_OPT_FLAGS -Wformat-security -Wformat -Werror=format-security"
73cc96
%else
73cc96
# Workaround for mozbz#1531309
73cc96
MOZ_OPT_FLAGS=$(echo "$MOZ_OPT_FLAGS" | %{__sed} -e 's/-Werror=format-security//')
73cc96
%endif
73cc96
%if 0%{?fedora} > 30
73cc96
MOZ_OPT_FLAGS="$MOZ_OPT_FLAGS -fpermissive"
73cc96
%endif
3262b1
%if %{?hardened_build}
73cc96
MOZ_OPT_FLAGS="$MOZ_OPT_FLAGS -fPIC -Wl,-z,relro -Wl,-z,now"
73cc96
%endif
3262b1
%if %{?debug_build}
73cc96
MOZ_OPT_FLAGS=$(echo "$MOZ_OPT_FLAGS" | %{__sed} -e 's/-O2//')
73cc96
%endif
73cc96
%ifarch s390
73cc96
MOZ_OPT_FLAGS=$(echo "$MOZ_OPT_FLAGS" | %{__sed} -e 's/-g/-g1/')
73cc96
# If MOZ_DEBUG_FLAGS is empty, firefox's build will default it to "-g" which
73cc96
# overrides the -g1 from line above and breaks building on s390/arm
73cc96
# (OOM when linking, rhbz#1238225)
73cc96
export MOZ_DEBUG_FLAGS=" "
73cc96
%endif
73cc96
%ifarch %{arm} %{ix86}
73cc96
MOZ_OPT_FLAGS=$(echo "$MOZ_OPT_FLAGS" | %{__sed} -e 's/-g/-g0/')
73cc96
export MOZ_DEBUG_FLAGS=" "
3262b1
%endif
3262b1
%if !%{build_with_clang}
73cc96
%ifarch s390x ppc aarch64 %{ix86}
73cc96
MOZ_LINK_FLAGS="-Wl,--no-keep-memory -Wl,--reduce-memory-overheads"
73cc96
%endif
73cc96
%ifarch %{arm}
73cc96
MOZ_LINK_FLAGS="-Wl,--no-keep-memory -Wl,--strip-debug"
73cc96
echo "ac_add_options --enable-linker=gold" >> .mozconfig
73cc96
%endif
73cc96
%endif
73cc96
%if 0%{?flatpak}
73cc96
# Make sure the linker can find libraries in /app/lib64 as we don't use
73cc96
# __global_ldflags that normally sets this.
73cc96
MOZ_LINK_FLAGS="$MOZ_LINK_FLAGS -L%{_libdir}"
73cc96
%endif
73cc96
%ifarch %{arm} %{ix86} %{s390x}
73cc96
export RUSTFLAGS="-Cdebuginfo=0"
73cc96
echo 'export RUSTFLAGS="-Cdebuginfo=0"' >> .mozconfig
73cc96
%endif
73cc96
#%ifarch aarch64
73cc96
#export RUSTFLAGS="-Cdebuginfo=0 -Clinker=/opt/rh/gcc-toolset-12/root/usr/bin/gcc"
73cc96
#echo 'export RUSTFLAGS="-Cdebuginfo=0 -Clinker=/opt/rh/gcc-toolset-12/root/usr/bin/gcc"' >> .mozconfig
73cc96
#%endif
73cc96
%if %{build_with_asan}
73cc96
MOZ_OPT_FLAGS="$MOZ_OPT_FLAGS -fsanitize=address -Dxmalloc=myxmalloc"
73cc96
MOZ_LINK_FLAGS="$MOZ_LINK_FLAGS -fsanitize=address -ldl"
3262b1
%endif
13404b
13404b
%if 0%{?bundle_nss}
13404b
  mkdir -p %{_buildrootdir}%{bundled_install_path}/%{_lib}
13404b
  MOZ_LINK_FLAGS="-L%{_buildrootdir}%{bundled_install_path}/%{_lib} $MOZ_LINK_FLAGS"
13404b
  MOZ_LINK_FLAGS="-Wl,-rpath,%{bundled_install_path}/%{_lib} $MOZ_LINK_FLAGS"
13404b
  MOZ_LINK_FLAGS="-Wl,-rpath-link,%{_buildrootdir}%{bundled_install_path}/%{_lib} $MOZ_LINK_FLAGS"
3262b1
%endif
3262b1
73cc96
# We don't wantfirefox to use CK_GCM_PARAMS_V3 in nss
73cc96
MOZ_OPT_FLAGS="$MOZ_OPT_FLAGS -DNSS_PKCS11_3_0_STRICT"
3262b1
13404b
echo "export CFLAGS=\"$MOZ_OPT_FLAGS\"" >> .mozconfig
13404b
echo "export CXXFLAGS=\"$MOZ_OPT_FLAGS\"" >> .mozconfig
13404b
echo "export LDFLAGS=\"$MOZ_LINK_FLAGS\"" >> .mozconfig
3262b1
3262b1
%if %{build_with_clang}
73cc96
echo "export LLVM_PROFDATA=\"llvm-profdata\"" >> .mozconfig
73cc96
echo "export AR=\"llvm-ar\"" >> .mozconfig
73cc96
echo "export NM=\"llvm-nm\"" >> .mozconfig
73cc96
echo "export RANLIB=\"llvm-ranlib\"" >> .mozconfig
73cc96
echo "ac_add_options --enable-linker=lld" >> .mozconfig
3262b1
%else
73cc96
echo "export CC=gcc" >> .mozconfig
73cc96
echo "export CXX=g++" >> .mozconfig
73cc96
echo "export AR=\"gcc-ar\"" >> .mozconfig
73cc96
echo "export NM=\"gcc-nm\"" >> .mozconfig
73cc96
echo "export RANLIB=\"gcc-ranlib\"" >> .mozconfig
73cc96
%endif
73cc96
%if 0%{?build_with_pgo}
73cc96
echo "ac_add_options MOZ_PGO=1" >> .mozconfig
73cc96
# PGO build doesn't work with ccache
73cc96
export CCACHE_DISABLE=1
3262b1
%endif
3262b1
3262b1
MOZ_SMP_FLAGS=-j1
73cc96
# On x86_64 architectures, Mozilla can build up to 4 jobs at once in parallel,
73cc96
# however builds tend to fail on other arches when building in parallel.
73cc96
#%ifarch %{ix86} s390x %{arm} aarch64 ppc64le
73cc96
#[ -z "$RPM_BUILD_NCPUS" ] && \
73cc96
#     RPM_BUILD_NCPUS="`/usr/bin/getconf _NPROCESSORS_ONLN`"
73cc96
#[ "$RPM_BUILD_NCPUS" -ge 2 ] && MOZ_SMP_FLAGS=-j2
73cc96
#%endif
73cc96
#%ifarch x86_64 ppc ppc64 ppc64le
73cc96
[ -z "$RPM_BUILD_NCPUS" ] && \
13404b
       RPM_BUILD_NCPUS="`/usr/bin/getconf _NPROCESSORS_ONLN`"
73cc96
[ "$RPM_BUILD_NCPUS" -ge 2 ] && MOZ_SMP_FLAGS=-j2
73cc96
[ "$RPM_BUILD_NCPUS" -ge 4 ] && MOZ_SMP_FLAGS=-j4
73cc96
[ "$RPM_BUILD_NCPUS" -ge 8 ] && MOZ_SMP_FLAGS=-j8
73cc96
[ "$RPM_BUILD_NCPUS" -ge 16 ] && MOZ_SMP_FLAGS=-j16
73cc96
#%endif
3262b1
73cc96
echo "mk_add_options MOZ_MAKE_FLAGS=\"$MOZ_SMP_FLAGS\"" >> .mozconfig
73cc96
echo "mk_add_options MOZ_SERVICES_SYNC=1" >> .mozconfig
73cc96
echo "export STRIP=/bin/true" >> .mozconfig
73cc96
#export MACH_USE_SYSTEM_PYTHON=1
3262b1
73cc96
%if %{launch_wayland_compositor}
73cc96
cp %{SOURCE45} .
73cc96
. ./run-wayland-compositor
3262b1
%endif
3262b1
3262b1
%if 0%{?bundle_nss}
13404b
  echo "Setting nss flags"
13404b
  # nss-setup-flags-env.inc
13404b
  %include_file %{SOURCE401}
13404b
  export PATH=%{_buildrootdir}/%{bundled_install_path}/bin:$PATH
13404b
  echo $PKG_CONFIG_PATH
3262b1
%endif
3262b1
73cc96
%if %{build_with_pgo}
73cc96
%if 0%{?test_on_wayland}
73cc96
env | grep "WAYLAND"
73cc96
MOZ_ENABLE_WAYLAND=1 ./mach build -v 2>&1 || exit 1
73cc96
%else
73cc96
xvfb-run ./mach build -v 2>&1 || exit 1
3262b1
%endif
3262b1
%else
73cc96
./mach build -v 2>&1 || exit 1
3262b1
%endif
3262b1
3262b1
#---------------------------------------------------------------------
3262b1
%install
13404b
export MACH_USE_SYSTEM_PYTHON=1
3262b1
function install_rpms_to_current_dir() {
3262b1
    PACKAGE_RPM=$(eval echo $1)
3262b1
    PACKAGE_DIR=%{_rpmdir}
3262b1
3262b1
    if [ ! -f $PACKAGE_DIR/$PACKAGE_RPM ]; then
3262b1
        # Hack for tps tests
3262b1
        ARCH_STR=%{_arch}
13404b
        %ifarch %{ix86}
3262b1
            ARCH_STR="i?86"
3262b1
        %endif
3262b1
        PACKAGE_DIR="$PACKAGE_DIR/$ARCH_STR"
3262b1
     fi
3262b1
3262b1
     for package in $(ls $PACKAGE_DIR/$PACKAGE_RPM)
3262b1
     do
3262b1
         echo "$package"
3262b1
         rpm2cpio "$package" | cpio -idu
3262b1
     done
3262b1
}
3262b1
3262b1
%if 0%{?bundle_nss}
3262b1
  pushd %{buildroot}
3262b1
  #install_rpms_to_current_dir nss-*.rpm
3262b1
  install_rpms_to_current_dir nspr-4*.rpm
3262b1
  install_rpms_to_current_dir nss-3*.rpm
3262b1
  install_rpms_to_current_dir nss-softokn-3*.rpm
3262b1
  install_rpms_to_current_dir nss-softokn-freebl-3*.rpm
3262b1
  install_rpms_to_current_dir nss-util-3*.rpm
13404b
3262b1
  # cleanup unecessary nss files
13404b
  #rm -rf %{_buildrootdir}/%{bundled_install_path}/bin
13404b
  #rm -rf %{_buildrootdir}/%{bundled_install_path}/include
13404b
  rm -rf %{buildroot}/%{bundled_install_path}/lib/dracut
13404b
  rm -rf %{buildroot}/%{bundled_install_path}/%{_lib}/nss
13404b
  #rm -rf %{_buildrootdir}/%{bundled_install_path}/%{_lib}/pkgconfig
13404b
  rm -rf %{buildroot}/%{bundled_install_path}/%{_lib}/share
13404b
  rm -rf %{buildroot}/%{bundled_install_path}/share
3262b1
  rm -rf %{buildroot}/etc/pki
3262b1
  rm -rf %{buildroot}/usr/lib/.build-id
3262b1
  rm -rf %{buildroot}/etc/crypto-policies
3262b1
  popd
3262b1
%endif
3262b1
73cc96
# run Firefox test suite
73cc96
%if %{launch_wayland_compositor}
73cc96
cp %{SOURCE45} .
73cc96
. ./run-wayland-compositor
73cc96
%endif
73cc96
73cc96
%if 0%{?run_firefox_tests}
73cc96
mkdir -p objdir/_virtualenvs/init_py3
73cc96
%{__cat} > objdir/_virtualenvs/init_py3/pip.conf << EOF
73cc96
[global]
73cc96
find-links=`pwd`/mochitest-python
73cc96
no-index=true
73cc96
EOF
73cc96
tar xf %{SOURCE37}
73cc96
cp %{SOURCE40} %{SOURCE41} %{SOURCE42} %{SOURCE38} %{SOURCE39} %{SOURCE43} %{SOURCE44} .
73cc96
mkdir -p test_results
73cc96
%if %{?test_on_wayland}
73cc96
./run-tests-wayland || true
73cc96
%else
73cc96
./run-tests-x11 || true
73cc96
%endif
73cc96
./print_results > test_summary.txt 2>&1 || true
73cc96
./print_failures || true
3262b1
%endif
3262b1
3262b1
# set up our default bookmarks
73cc96
%if !0%{?flatpak}
73cc96
%{__cp} -p %{default_bookmarks_file} objdir/dist/bin/browser/chrome/browser/content/browser/default-bookmarks.html
73cc96
%endif
3262b1
3262b1
# Make sure locale works for langpacks
3262b1
%{__cat} > objdir/dist/bin/browser/defaults/preferences/firefox-l10n.js << EOF
3262b1
pref("general.useragent.locale", "chrome://global/locale/intl.properties");
3262b1
EOF
3262b1
3262b1
DESTDIR=%{buildroot} make -C objdir install
3262b1
3262b1
%{__mkdir_p} %{buildroot}{%{_libdir},%{_bindir},%{_datadir}/applications}
3262b1
3262b1
desktop-file-install --dir %{buildroot}%{_datadir}/applications %{SOURCE20}
73cc96
%if 0%{?rhel} >= 9
73cc96
desktop-file-install --dir %{buildroot}%{_datadir}/applications %{SOURCE31}
73cc96
%endif
3262b1
3262b1
# set up the firefox start script
3262b1
%{__rm} -rf %{buildroot}%{_bindir}/firefox
73cc96
%{__sed} -e 's,/__PREFIX__,%{_prefix},g' %{SOURCE21} > %{buildroot}%{_bindir}/firefox
3262b1
%{__chmod} 755 %{buildroot}%{_bindir}/firefox
3262b1
73cc96
%if 0%{?flatpak}
73cc96
sed -i -e 's|%FLATPAK_ENV_VARS%|export TMPDIR="$XDG_CACHE_HOME/tmp"|' %{buildroot}%{_bindir}/firefox
73cc96
%else
73cc96
sed -i -e 's|%FLATPAK_ENV_VARS%||' %{buildroot}%{_bindir}/firefox
73cc96
%endif
73cc96
73cc96
# Run firefox under wayland only on RHEL9 and newer
73cc96
%if 0%{?rhel} < 9
73cc96
sed -i -e 's|%DISABLE_WAYLAND_PLACEHOLDER%|export MOZ_DISABLE_WAYLAND=1|' %{buildroot}%{_bindir}/firefox
73cc96
%else
73cc96
sed -i -e 's|%DISABLE_WAYLAND_PLACEHOLDER%||' %{buildroot}%{_bindir}/firefox
73cc96
# firefox-x11 launch script for RHEL9 only
73cc96
%{__sed} -e 's,/__PREFIX__,%{_prefix},g' %{SOURCE30} > %{buildroot}%{_bindir}/firefox-x11
73cc96
%{__chmod} 755 %{buildroot}%{_bindir}/firefox-x11
73cc96
%endif
73cc96
3262b1
%{__install} -p -D -m 644 %{SOURCE23} %{buildroot}%{_mandir}/man1/firefox.1
3262b1
3262b1
%{__rm} -f %{buildroot}/%{mozappdir}/firefox-config
3262b1
%{__rm} -f %{buildroot}/%{mozappdir}/update-settings.ini
3262b1
3262b1
for s in 16 22 24 32 48 256; do
3262b1
    %{__mkdir_p} %{buildroot}%{_datadir}/icons/hicolor/${s}x${s}/apps
3262b1
    %{__cp} -p browser/branding/official/default${s}.png \
3262b1
               %{buildroot}%{_datadir}/icons/hicolor/${s}x${s}/apps/firefox.png
3262b1
done
3262b1
3262b1
# Install hight contrast icon
3262b1
%{__mkdir_p} %{buildroot}%{_datadir}/icons/hicolor/symbolic/apps
3262b1
%{__cp} -p %{SOURCE25} \
3262b1
           %{buildroot}%{_datadir}/icons/hicolor/symbolic/apps
3262b1
3262b1
echo > %{name}.lang
73cc96
%if %{with langpacks}
3262b1
# Extract langpacks, make any mods needed, repack the langpack, and install it.
3262b1
%{__mkdir_p} %{buildroot}%{langpackdir}
3262b1
%{__tar} xf %{SOURCE1}
3262b1
for langpack in `ls firefox-langpacks/*.xpi`; do
3262b1
  language=`basename $langpack .xpi`
3262b1
  extensionID=langpack-$language@firefox.mozilla.org
3262b1
  %{__mkdir_p} $extensionID
3262b1
  unzip -qq $langpack -d $extensionID
3262b1
  find $extensionID -type f | xargs chmod 644
3262b1
3262b1
  cd $extensionID
3262b1
  zip -qq -r9mX ../${extensionID}.xpi *
3262b1
  cd -
3262b1
3262b1
  %{__install} -m 644 ${extensionID}.xpi %{buildroot}%{langpackdir}
3262b1
  language=`echo $language | sed -e 's/-/_/g'`
73cc96
%if 0%{?flatpak}
73cc96
  echo "%{langpackdir}/${extensionID}.xpi" >> %{name}.lang
73cc96
%else
3262b1
  echo "%%lang($language) %{langpackdir}/${extensionID}.xpi" >> %{name}.lang
73cc96
%endif
3262b1
done
3262b1
%{__rm} -rf firefox-langpacks
3262b1
3262b1
# Install langpack workaround (see #707100, #821169)
3262b1
function create_default_langpack() {
3262b1
language_long=$1
3262b1
language_short=$2
3262b1
cd %{buildroot}%{langpackdir}
3262b1
ln -s langpack-$language_long@firefox.mozilla.org.xpi langpack-$language_short@firefox.mozilla.org.xpi
3262b1
cd -
3262b1
echo "%%lang($language_short) %{langpackdir}/langpack-$language_short@firefox.mozilla.org.xpi" >> %{name}.lang
3262b1
}
3262b1
3262b1
# Table of fallbacks for each language
3262b1
# please file a bug at bugzilla.redhat.com if the assignment is incorrect
73cc96
#create_default_langpack "bn-IN" "bn"
3262b1
create_default_langpack "es-AR" "es"
3262b1
create_default_langpack "fy-NL" "fy"
3262b1
create_default_langpack "ga-IE" "ga"
3262b1
create_default_langpack "gu-IN" "gu"
3262b1
create_default_langpack "hi-IN" "hi"
3262b1
create_default_langpack "hy-AM" "hy"
3262b1
create_default_langpack "nb-NO" "nb"
3262b1
create_default_langpack "nn-NO" "nn"
3262b1
create_default_langpack "pa-IN" "pa"
3262b1
create_default_langpack "pt-PT" "pt"
3262b1
create_default_langpack "sv-SE" "sv"
3262b1
create_default_langpack "zh-TW" "zh"
3262b1
%endif
3262b1
3262b1
# Keep compatibility with the old preference location.
3262b1
%{__mkdir_p} %{buildroot}%{mozappdir}/defaults/preferences
3262b1
%{__mkdir_p} %{buildroot}%{mozappdir}/browser/defaults
3262b1
ln -s %{mozappdir}/defaults/preferences $RPM_BUILD_ROOT/%{mozappdir}/browser/defaults/preferences
3262b1
# Default preferences
3262b1
%{__cp} %{SOURCE12} %{buildroot}%{mozappdir}/defaults/preferences/all-redhat.js
3262b1
sed -i -e 's|%PREFIX%|%{_prefix}|' %{buildroot}%{mozappdir}/defaults/preferences/all-redhat.js
13404b
# Enable modern crypto for the key export on the RHEL9 only (rhbz#1764205)
13404b
%if 0%{?rhel} == 9
13404b
  echo 'pref("security.pki.use_modern_crypto_with_pkcs12", true);' >> %{buildroot}%{mozappdir}/defaults/preferences/all-redhat.js
13404b
%endif
13404b
13404b
%ifarch s390x
13404b
  echo 'pref("gfx.webrender.force-disabled", true);' >> %{buildroot}%{mozappdir}/defaults/preferences/all-redhat.js
13404b
%endif
13404b
73cc96
%ifarch s390x ppc64
73cc96
  echo 'pref("gfx.webrender.force-disabled", true);' >> %{buildroot}%{mozappdir}/defaults/preferences/all-redhat.js
73cc96
%endif
3262b1
3262b1
# System config dir
3262b1
%{__mkdir_p} %{buildroot}/%{_sysconfdir}/%{name}/pref
3262b1
3262b1
# System extensions
3262b1
%{__mkdir_p} %{buildroot}%{_datadir}/mozilla/extensions/%{firefox_app_id}
3262b1
%{__mkdir_p} %{buildroot}%{_libdir}/mozilla/extensions/%{firefox_app_id}
3262b1
3262b1
# Copy over the LICENSE
3262b1
%{__install} -p -c -m 644 LICENSE %{buildroot}/%{mozappdir}
3262b1
3262b1
# Use the system hunspell dictionaries
3262b1
%{__rm} -rf %{buildroot}%{mozappdir}/dictionaries
3262b1
ln -s %{_datadir}/myspell %{buildroot}%{mozappdir}/dictionaries
3262b1
73cc96
%if 0%{?run_firefox_tests}
73cc96
%{__mkdir_p} %{buildroot}/%{version}-%{release}/test_results
73cc96
%{__cp} test_results/* %{buildroot}/%{version}-%{release}/test_results
73cc96
%{__cp} test_summary.txt %{buildroot}/%{version}-%{release}/
73cc96
%{__cp} failures-* %{buildroot}/%{version}-%{release}/ || true
3262b1
%endif
3262b1
3262b1
# Copy over run-mozilla.sh
3262b1
%{__cp} build/unix/run-mozilla.sh %{buildroot}%{mozappdir}
3262b1
3262b1
# Add distribution.ini
3262b1
%{__mkdir_p} %{buildroot}%{mozappdir}/distribution
3262b1
%{__cp} %{SOURCE26} %{buildroot}%{mozappdir}/distribution
3262b1
73cc96
# Install appdata file
73cc96
mkdir -p %{buildroot}%{_datadir}/metainfo
73cc96
%{__sed} -e "s/__VERSION__/%{version}/" \
73cc96
         -e "s/__DATE__/$(date '+%Y-%m-%d')/" \
73cc96
         %{SOURCE33} > %{buildroot}%{_datadir}/metainfo/firefox.appdata.xml
73cc96
73cc96
# Install Gnome search provider files
73cc96
mkdir -p %{buildroot}%{_datadir}/gnome-shell/search-providers
73cc96
%{__cp} %{SOURCE34} %{buildroot}%{_datadir}/gnome-shell/search-providers
73cc96
73cc96
# Remove gtk2 support as flash plugin is no longer supported
73cc96
rm -rf %{buildroot}%{mozappdir}/gtk2/
13404b
3262b1
# Remove copied libraries to speed up build
3262b1
rm -f %{buildroot}%{mozappdirdev}/sdk/lib/libmozjs.so
3262b1
rm -f %{buildroot}%{mozappdirdev}/sdk/lib/libmozalloc.so
3262b1
rm -f %{buildroot}%{mozappdirdev}/sdk/lib/libxul.so
73cc96
73cc96
# Create a symlink to replace libnssckbi.so with p11-kit-client.so
73cc96
# instead of p11-kit-trust.so, so that Firefox can see the system
73cc96
# trust store on the host through the p11-kit RPC protocol.  A symlink
73cc96
# to libnss3.so is also needed, because Firefox tries to load
73cc96
# libnssckbi.so from the same directory where libnss3.so is loaded (as
73cc96
# of Firefox 89).
73cc96
%if 0%{?flatpak}
73cc96
ln -sf /usr/lib64/libnss3.so %{buildroot}%{_libdir}/libnss3.so
73cc96
ln -sf /usr/lib64/pkcs11/p11-kit-client.so %{buildroot}%{_libdir}/libnssckbi.so
73cc96
%endif
3262b1
#---------------------------------------------------------------------
3262b1
73cc96
%check
73cc96
appstream-util validate-relax --nonet %{buildroot}%{_datadir}/metainfo/*.appdata.xml
73cc96
3262b1
%preun
3262b1
# is it a final removal?
3262b1
if [ $1 -eq 0 ]; then
3262b1
  %{__rm} -rf %{mozappdir}/components
3262b1
  %{__rm} -rf %{mozappdir}/extensions
3262b1
  %{__rm} -rf %{mozappdir}/plugins
3262b1
fi
3262b1
3262b1
%clean
3262b1
rm -rf %{_srcrpmdir}/libffi*.src.rpm
3262b1
find %{_rpmdir} -name "libffi*.rpm" -delete
3262b1
rm -rf %{_srcrpmdir}/openssl*.src.rpm
3262b1
find %{_rpmdir} -name "openssl*.rpm" -delete
3262b1
rm -rf %{_srcrpmdir}/nss*.src.rpm
3262b1
find %{_rpmdir} -name "nss*.rpm" -delete
3262b1
rm -rf %{_srcrpmdir}/nspr*.src.rpm
3262b1
find %{_rpmdir} -name "nspr*.rpm" -delete
3262b1
3262b1
%post
3262b1
update-desktop-database &> /dev/null || :
3262b1
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
3262b1
3262b1
%postun
3262b1
update-desktop-database &> /dev/null || :
3262b1
if [ $1 -eq 0 ] ; then
3262b1
    touch --no-create %{_datadir}/icons/hicolor &>/dev/null
3262b1
    gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
73cc96
    %{__rm} -rf %{langpackdir}
3262b1
fi
3262b1
3262b1
%posttrans
3262b1
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
3262b1
3262b1
%files -f %{name}.lang
3262b1
%{_bindir}/firefox
3262b1
%{mozappdir}/firefox
3262b1
%{mozappdir}/firefox-bin
3262b1
%doc %{_mandir}/man1/*
3262b1
%dir %{_sysconfdir}/%{name}
3262b1
%dir %{_sysconfdir}/%{name}/*
3262b1
%dir %{_datadir}/mozilla/extensions/*
3262b1
%dir %{_libdir}/mozilla/extensions/*
73cc96
%{_datadir}/applications/%{name}.desktop
73cc96
%{_datadir}/metainfo/*.appdata.xml
73cc96
%{_datadir}/gnome-shell/search-providers/*.ini
3262b1
%dir %{mozappdir}
73cc96
%license %{mozappdir}/LICENSE
3262b1
%{mozappdir}/browser/chrome
3262b1
%{mozappdir}/defaults/preferences/*
3262b1
%{mozappdir}/browser/defaults/preferences
3262b1
%{mozappdir}/browser/features/*.xpi
3262b1
%{mozappdir}/distribution/distribution.ini
73cc96
# That's Windows only
73cc96
%ghost %{mozappdir}/browser/features/aushelper@mozilla.org.xpi
73cc96
%if %{with langpacks}
3262b1
%dir %{langpackdir}
3262b1
%endif
3262b1
%{mozappdir}/browser/omni.ja
3262b1
%{mozappdir}/run-mozilla.sh
3262b1
%{mozappdir}/application.ini
3262b1
%{mozappdir}/pingsender
3262b1
%exclude %{mozappdir}/removed-files
73cc96
%if 0%{?flatpak}
73cc96
%{_libdir}/libnss3.so
73cc96
%{_libdir}/libnssckbi.so
73cc96
%endif
3262b1
%{_datadir}/icons/hicolor/16x16/apps/firefox.png
3262b1
%{_datadir}/icons/hicolor/22x22/apps/firefox.png
3262b1
%{_datadir}/icons/hicolor/24x24/apps/firefox.png
3262b1
%{_datadir}/icons/hicolor/256x256/apps/firefox.png
3262b1
%{_datadir}/icons/hicolor/32x32/apps/firefox.png
3262b1
%{_datadir}/icons/hicolor/48x48/apps/firefox.png
3262b1
%{_datadir}/icons/hicolor/symbolic/apps/firefox-symbolic.svg
73cc96
%if %{enable_mozilla_crashreporter}
73cc96
%{mozappdir}/crashreporter
73cc96
%{mozappdir}/crashreporter.ini
73cc96
%{mozappdir}/minidump-analyzer
73cc96
%{mozappdir}/Throbber-small.gif
73cc96
%{mozappdir}/browser/crashreporter-override.ini
73cc96
%endif
3262b1
%{mozappdir}/*.so
3262b1
%{mozappdir}/defaults/pref/channel-prefs.js
3262b1
%{mozappdir}/dependentlibs.list
3262b1
%{mozappdir}/dictionaries
3262b1
%{mozappdir}/omni.ja
3262b1
%{mozappdir}/platform.ini
3262b1
%{mozappdir}/plugin-container
3262b1
%{mozappdir}/gmp-clearkey
73cc96
%{mozappdir}/fonts/TwemojiMozilla.ttf
3262b1
%if !%{?system_nss}
3262b1
%exclude %{mozappdir}/libnssckbi.so
3262b1
%endif
73cc96
%if %{build_with_asan}
73cc96
%{mozappdir}/llvm-symbolizer
3262b1
%endif
3262b1
3262b1
%if 0%{?bundle_nss}
3262b1
%{mozappdir}/bundled/%{_lib}/libfreebl*
3262b1
%{mozappdir}/bundled/%{_lib}/libnss3*
3262b1
%{mozappdir}/bundled/%{_lib}/libnssdbm3*
3262b1
%{mozappdir}/bundled/%{_lib}/libnssutil3*
3262b1
%{mozappdir}/bundled/%{_lib}/libsmime3*
3262b1
%{mozappdir}/bundled/%{_lib}/libsoftokn*
3262b1
%{mozappdir}/bundled/%{_lib}/libssl3*
3262b1
%{mozappdir}/bundled/%{_lib}/libnspr4.so
3262b1
%{mozappdir}/bundled/%{_lib}/libplc4.so
3262b1
%{mozappdir}/bundled/%{_lib}/libplds4.so
3262b1
%endif
3262b1
3262b1
#---------------------------------------------------------------------
3262b1
3262b1
%changelog
d2e7a0
* Tue Mar 28 2023 CentOS Sources <bugs@centos.org> - 102.8.0-2.el9.centos
d2e7a0
- Apply debranding changes
d2e7a0
73cc96
* Tue Feb 14 2023 Eike Rathke <erack@redhat.com> - 102.8.0-2
73cc96
- Update to 102.8.0 build2
73cc96
73cc96
* Tue Feb 07 2023 Eike Rathke <erack@redhat.com> - 102.8.0-1
73cc96
- Update to 102.8.0 build1
73cc96
73cc96
* Tue Jan 10 2023 Eike Rathke <erack@redhat.com> - 102.7.0-1
73cc96
- Update to 102.7.0 build1
73cc96
73cc96
* Mon Jan 02 2023 Jan Horak <jhorak@redhat.com> - 102.6.0-2
73cc96
- Add firefox-x11 subpackage to allow explicit run of firefox under x11 on RHEL9
73cc96
73cc96
* Tue Dec 06 2022 Eike Rathke <erack@redhat.com> - 102.6.0-1
73cc96
- Update to 102.6.0 build1
73cc96
73cc96
* Fri Nov 25 2022 Jan Horak <jhorak@redhat.com> - 102.5.0-2
73cc96
- Added libwebrtc screencast patch for newer features
73cc96
73cc96
* Wed Nov 09 2022 Eike Rathke <erack@redhat.com> - 102.5.0-1
73cc96
- Update to 102.5.0 build1
73cc96
73cc96
* Wed Oct 12 2022 Eike Rathke <erack@redhat.com> - 102.4.0-1
73cc96
- Update to 102.4.0 build1
73cc96
73cc96
* Tue Oct 11 2022 Jan Horak <jhorak@redhat.com> - 102.3.0-7
73cc96
- Fix for expat CVE-2022-40674 and non functional webrtc
73cc96
73cc96
* Tue Sep 13 2022 Jan Horak <jhorak@redhat.com> - 102.3.0-6
73cc96
- Update to 102.3.0 build1
73cc96
73cc96
* Thu Jul 21 2022 Eike Rathke <erack@redhat.com> - 91.12.0-1
73cc96
- Update to 91.12.0 build1
166a16
2c691f
* Thu Jun 23 2022 Eike Rathke <erack@redhat.com> - 91.11.0-2
2c691f
- Update to 91.11.0 build2
2c691f
2c691f
* Tue Jun 21 2022 Eike Rathke <erack@redhat.com> - 91.11.0-1
2c691f
- Update to 91.11.0 build1
2c691f
2c691f
* Tue May 24 2022 Eike Rathke <erack@redhat.com> - 91.10.0-1
2c691f
- Update to 91.10.0 build1
2c691f
2c691f
* Fri May 20 2022 Jan Horak <jhorak@redhat.com> - 91.9.1-1
2c691f
- Update to 91.9.1 build1
2c691f
2c691f
* Tue Apr 26 2022 Eike Rathke <erack@redhat.com> - 91.9.0-1
2c691f
- Update to 91.9.0
2c691f
2c691f
* Tue Apr 05 2022 Eike Rathke <erack@redhat.com> - 91.8.0-1
2c691f
- Update to 91.8.0
69dd13
9728d7
* Mon Mar 07 2022 Eike Rathke <erack@redhat.com> - 91.7.0-3
9728d7
- Update to 91.7.0 build3
9728d7
9728d7
* Wed Mar 02 2022 Jan Horak <jhorak@redhat.com> - 91.7.0-2
9728d7
- Added expat backports of CVE-2022-25235, CVE-2022-25236 and CVE-2022-25315
9728d7
9728d7
* Tue Mar 01 2022 Eike Rathke <erack@redhat.com> - 91.7.0-1
9728d7
- Update to 91.7.0 build2
6355fa
73cc96
* Fri Feb 25 2022 Jan Horak <jhorak@redhat.com> - 91.6.0-2
73cc96
- Install langpacks to the browser/extensions to make them available in UI:
73cc96
  rhbz#2030190
74968f
74968f
* Wed Feb 02 2022 Eike Rathke <erack@redhat.com> - 91.6.0-1
74968f
- Update to 91.6.0 build1
74968f
74968f
* Wed Feb 02 2022 Jan Horak <jhorak@redhat.com> - 91.5.0-2
74968f
- Use default update channel to fix non working enterprise policies:
74968f
  rhbz#2044667
8bb5d6
c1e3e4
* Thu Jan 06 2022 Eike Rathke <erack@redhat.com> - 91.5.0-1
c1e3e4
- Update to 91.5.0 build1
1c3601
130127
* Mon Dec 13 2021 Jan Horak <jhorak@redhat.com> - 91.4.0-2
130127
- Added fix for failing addons signatures.
130127
130127
* Wed Dec 01 2021 Eike Rathke <erack@redhat.com> - 91.4.0-1
130127
- Update to 91.4.0 build1
e4e870
13404b
* Mon Nov 01 2021 Eike Rathke <erack@redhat.com> - 91.3.0-1
13404b
- Update to 91.3.0 build1
13404b
13404b
* Thu Oct 21 2021 Jan Horak <jhorak@redhat.com> - 91.2.0-5
13404b
- Fixed crashes when FIPS is enabled.
13404b
13404b
* Mon Oct 04 2021 Jan Horak <jhorak@redhat.com> - 91.2.0-4
13404b
- Disable webrender on the s390x due to wrong colors: rhbz#2009503
13404b
13404b
* Wed Sep 29 2021 Jan Horak <jhorak@redhat.com> - 91.2.0-3
13404b
- Update to 91.2.0 build1
9bfc2b
13404b
* Wed Sep 15 2021 Jan Horak <jhorak@redhat.com> - 91.1.0-1
13404b
- Update to 91.1.0 build1
3262b1
13404b
* Tue Aug 17 2021 Jan Horak <jhorak@redhat.com>
13404b
- Update to 91.0.1 build1
3262b1
13404b
* Tue Aug 10 2021 Jan Horak <jhorak@redhat.com> - 91.0-1
13404b
- Update to 91.0 ESR
3262b1
13404b
* Thu Jul 29 2021 Jan Horak <jhorak@redhat.com> - 91.0-1
13404b
- Update to 91.0b8
13404b
13404b
* Fri Jul 16 2021 Jan Horak <jhorak@redhat.com> - 78.12.0-2
13404b
- Rebuild to pickup older nss
3262b1
3262b1
* Wed Jul 07 2021 Eike Rathke <erack@redhat.com> - 78.12.0-1
3262b1
- Update to 78.12.0 build1
3262b1
13404b
* Mon May 31 2021 Eike Rathke <erack@redhat.com> - 78.11.0-3
3262b1
- Update to 78.11.0 build2 (release)
3262b1
13404b
* Thu May 27 2021 Eike Rathke <erack@redhat.com> - 78.11.0-2
13404b
- Fix rhel_minor_version for dist .el8_4 and .el8
3262b1
13404b
* Tue May 25 2021 Eike Rathke <erack@redhat.com> - 78.11.0-1
13404b
- Update to 78.11.0 build1
3262b1
13404b
* Tue Apr 20 2021 Eike Rathke <erack@redhat.com> - 78.10.0-1
13404b
- Update to 78.10.0
3262b1
13404b
* Wed Mar 17 2021 Eike Rathke <erack@redhat.com> - 78.9.0-1
13404b
- Update to 78.9.0 build1
3262b1
13404b
* Wed Feb 17 2021 Eike Rathke <erack@redhat.com> - 78.8.0-1
3262b1
- Update to 78.8.0 build2
13404b
13404b
* Tue Feb 09 2021 Eike Rathke <erack@redhat.com> - 78.7.1-1
13404b
- Update to 78.7.1
13404b
13404b
* Tue Feb 09 2021 Jan Horak <jhorak@redhat.com> - 78.7.0-3
13404b
- Fixing install prefix for the homepage
13404b
13404b
* Fri Jan 22 2021 Eike Rathke <erack@redhat.com> - 78.7.0-2
13404b
- Update to 78.7.0 build2
13404b
13404b
* Wed Jan 20 2021 Eike Rathke <erack@redhat.com> - 78.7.0-1
13404b
- Update to 78.7.0 build1
3262b1
3262b1
* Wed Jan  6 2021 Eike Rathke <erack@redhat.com> - 78.6.1-1
3262b1
- Update to 78.6.1 build1
3262b1
3262b1
* Thu Dec 10 2020 Jan Horak <jhorak@redhat.com> - 78.6.0-1
3262b1
- Update to 78.6.0 build1
3262b1
3262b1
* Wed Nov 18 2020 Jan Horak <jhorak@redhat.com> - 78.5.0-1
3262b1
- Update to 78.5.0 build1
3262b1
3262b1
* Tue Nov 10 2020 erack@redhat.com - 78.4.1-1
3262b1
- Update to 78.4.1
3262b1
3262b1
* Tue Nov 10 2020 Jan Horak <jhorak@redhat.com> - 78.4.0-3
3262b1
- Fixing flatpak build, fixing firefox.sh.in to not disable langpacks loading
3262b1
3262b1
* Thu Oct 29 2020 Jan Horak <jhorak@redhat.com> - 78.4.0-2
3262b1
- Enable addon sideloading
3262b1
3262b1
* Fri Oct 16 2020 Jan Horak <jhorak@redhat.com> - 78.4.0-1
3262b1
- Update to 78.4.0 build2
3262b1
3262b1
* Fri Sep 18 2020 Jan Horak <jhorak@redhat.com>
3262b1
- Update to 78.3.0 build1
3262b1
3262b1
* Tue Aug 18 2020 Jan Horak <jhorak@redhat.com> - 78.2.0-3
3262b1
- Update to 78.2.0 build1
3262b1
3262b1
* Fri Jul 24 2020 Jan Horak <jhorak@redhat.com>
3262b1
- Update to 68.11.0 build1
3262b1
3262b1
* Fri Jun 26 2020 Jan Horak <jhorak@redhat.com>
3262b1
- Update to 68.10.0 build1
3262b1
3262b1
* Fri May 29 2020 Jan Horak <jhorak@redhat.com>
3262b1
- Update to 68.9.0 build1
3262b1
- Added patch for pipewire 0.3
3262b1
3262b1
* Mon May 11 2020 Jan Horak <jhorak@redhat.com>
3262b1
- Added s390x specific patches
3262b1
3262b1
* Wed Apr 29 2020 Jan Horak <jhorak@redhat.com>
3262b1
- Update to 68.8.0 build1
3262b1
3262b1
* Thu Apr 23 2020 Martin Stransky <stransky@redhat.com> - 68.7.0-3
3262b1
- Added fix for rhbz#1821418
3262b1
3262b1
* Tue Apr 07 2020 Jan Horak <jhorak@redhat.com> - 68.7.0-2
3262b1
- Update to 68.7.0 build3
3262b1
3262b1
* Mon Apr  6 2020 Jan Horak <jhorak@redhat.com> - 68.6.1-1
3262b1
- Update to 68.6.1 ESR
3262b1
3262b1
* Wed Mar 04 2020 Jan Horak <jhorak@redhat.com>
3262b1
- Update to 68.6.0 build1
3262b1
3262b1
* Mon Feb 24 2020 Martin Stransky <stransky@redhat.com> - 68.5.0-3
3262b1
- Added fix for rhbz#1805667
3262b1
- Enabled mzbz@1170092 - Firefox prefs at /etc
3262b1
3262b1
* Fri Feb 07 2020 Jan Horak <jhorak@redhat.com>
3262b1
- Update to 68.5.0 build2
3262b1
3262b1
* Wed Feb 05 2020 Jan Horak <jhorak@redhat.com>
3262b1
- Update to 68.5.0 build1
3262b1
3262b1
* Wed Jan 08 2020 Jan Horak <jhorak@redhat.com>
3262b1
- Update to 68.4.1esr build1
3262b1
3262b1
* Fri Jan 03 2020 Jan Horak <jhorak@redhat.com>
3262b1
- Update to 68.4.0esr build1
3262b1
3262b1
* Wed Dec 18 2019 Jan Horak <jhorak@redhat.com>
3262b1
- Fix for wrong intl.accept_lang when using non en-us langpack
3262b1
3262b1
* Wed Nov 27 2019 Martin Stransky <stransky@redhat.com> - 68.3.0-1
3262b1
- Update to 68.3.0 ESR
3262b1
3262b1
* Thu Oct 24 2019 Martin Stransky <stransky@redhat.com> - 68.2.0-4
3262b1
- Added patch for TLS 1.3 support.
3262b1
3262b1
* Wed Oct 23 2019 Martin Stransky <stransky@redhat.com> - 68.2.0-3
3262b1
- Rebuild
3262b1
3262b1
* Mon Oct 21 2019 Martin Stransky <stransky@redhat.com> - 68.2.0-2
3262b1
- Rebuild
3262b1
3262b1
* Thu Oct 17 2019 Martin Stransky <stransky@redhat.com> - 68.2.0-1
3262b1
- Update to 68.2.0 ESR
3262b1
3262b1
* Thu Oct 10 2019 Martin Stransky <stransky@redhat.com> - 68.1.0-6
3262b1
- Enable system nss on RHEL6
3262b1
3262b1
* Thu Sep  5 2019 Jan Horak <jhorak@redhat.com> - 68.1.0-2
3262b1
- Enable building langpacks
3262b1
3262b1
* Wed Aug 28 2019 Jan Horak <jhorak@redhat.com> - 68.1.0-1
3262b1
- Update to 68.1.0 ESR
3262b1
3262b1
* Mon Aug 5 2019 Martin Stransky <stransky@redhat.com> - 68.0.1-4
3262b1
- Enable system nss
3262b1
3262b1
* Mon Jul 29 2019 Martin Stransky <stransky@redhat.com> - 68.0.1-3
3262b1
- Enable official branding
3262b1
3262b1
* Fri Jul 26 2019 Martin Stransky <stransky@redhat.com> - 68.0.1-2
3262b1
- Enabled PipeWire on RHEL8
3262b1
3262b1
* Fri Jul 26 2019 Martin Stransky <stransky@redhat.com> - 68.0.1-1
3262b1
- Updated to 68.0.1 ESR
3262b1
3262b1
* Tue Jul 16 2019 Jan Horak <jhorak@redhat.com> - 68.0-0.11
3262b1
- Update to 68.0 ESR
3262b1
3262b1
* Tue Jun 25 2019 Martin Stransky <stransky@redhat.com> - 68.0-0.10
3262b1
- Updated to 68.0 alpha 13
3262b1
- Enabled second arches
3262b1
3262b1
* Fri Mar 22 2019 Martin Stransky <stransky@redhat.com> - 68.0-0.1
3262b1
- Updated to 68.0 alpha
3262b1
3262b1
* Fri Mar 15 2019 Martin Stransky <stransky@redhat.com> - 60.6.0-3
3262b1
- Added Google API keys (mozbz#1531176)
3262b1
3262b1
* Thu Mar 14 2019 Martin Stransky <stransky@redhat.com> - 60.6.0-2
3262b1
- Update to 60.6.0 ESR (Build 2)
3262b1
3262b1
* Wed Mar 13 2019 Martin Stransky <stransky@redhat.com> - 60.6.0-1
3262b1
- Update to 60.6.0 ESR (Build 1)
3262b1
3262b1
* Wed Feb 13 2019 Jan Horak <jhorak@redhat.com> - 60.5.1-1
3262b1
- Update to 60.5.1 ESR
3262b1
3262b1
* Wed Feb 6 2019 Martin Stransky <stransky@redhat.com> - 60.5.0-3
3262b1
- Added fix for rhbz#1672424 - Firefox crashes on NFS drives.
3262b1
3262b1
* Fri Jan 25 2019 Martin Stransky <stransky@redhat.com> - 60.5.0-2
3262b1
- Updated to 60.5.0 ESR build2
3262b1
3262b1
* Tue Jan 22 2019 Martin Stransky <stransky@redhat.com> - 60.5.0-1
3262b1
- Updated to 60.5.0 ESR build1
3262b1
3262b1
* Thu Jan 10 2019 Jan Horak <jhorak@redhat.com> - 60.4.0-3
3262b1
- Fixing fontconfig warnings (rhbz#1601475)
3262b1
3262b1
* Wed Jan  9 2019 Jan Horak <jhorak@redhat.com> - 60.4.0-2
3262b1
- Added pipewire patch from Tomas Popela (rhbz#1664270)
3262b1
3262b1
* Wed Dec  5 2018 Jan Horak <jhorak@redhat.com> - 60.4.0-1
3262b1
- Update to 60.4.0 ESR
3262b1
3262b1
* Tue Dec  4 2018 Jan Horak <jhorak@redhat.com> - 60.3.0-2
3262b1
- Added firefox-gnome-shell-extension
3262b1
3262b1
* Fri Oct 19 2018 Jan Horak <jhorak@redhat.com> - 60.3.0-1
3262b1
- Update to 60.3.0 ESR
3262b1
3262b1
* Wed Oct 10 2018 Jan Horak <jhorak@redhat.com> - 60.2.2-2
3262b1
- Added patch for rhbz#1633932
3262b1
3262b1
* Tue Oct  2 2018 Jan Horak <jhorak@redhat.com> - 60.2.2-1
3262b1
- Update to 60.2.2 ESR
3262b1
3262b1
* Mon Sep 24 2018 Jan Horak <jhorak@redhat.com> - 60.2.1-1
3262b1
- Update to 60.2.1 ESR
3262b1
3262b1
* Fri Aug 31 2018 Jan Horak <jhorak@redhat.com> - 60.2.0-1
3262b1
- Update to 60.2.0 ESR
3262b1
3262b1
* Tue Aug 28 2018 Jan Horak <jhorak@redhat.com> - 60.1.0-9
3262b1
- Do not set user agent (rhbz#1608065)
3262b1
- GTK dialogs are localized now (rhbz#1619373)
3262b1
- JNLP association works again (rhbz#1607457)
3262b1
3262b1
* Thu Aug 16 2018 Jan Horak <jhorak@redhat.com> - 60.1.0-8
3262b1
- Fixed homepage and bookmarks (rhbz#1606778)
3262b1
- Fixed missing file associations in RHEL6 (rhbz#1613565)
3262b1
3262b1
* Thu Jul 12 2018 Jan Horak <jhorak@redhat.com> - 60.1.0-7
3262b1
- Run at-spi-bus if not running already (for the bundled gtk3)
3262b1
3262b1
* Mon Jul  9 2018 Jan Horak <jhorak@redhat.com> - 60.1.0-6
3262b1
- Fix for missing schemes for bundled gtk3
3262b1
3262b1
* Mon Jun 25 2018 Martin Stransky <stransky@redhat.com> - 60.1.0-5
3262b1
- Added mesa-libEGL dependency to gtk3/rhel6
3262b1
3262b1
* Sun Jun 24 2018 Martin Stransky <stransky@redhat.com> - 60.1.0-4
3262b1
- Disabled jemalloc on all second arches
3262b1
3262b1
* Fri Jun 22 2018 Martin Stransky <stransky@redhat.com> - 60.1.0-3
3262b1
- Updated to 60.1.0 ESR build2
3262b1
3262b1
* Thu Jun 21 2018 Martin Stransky <stransky@redhat.com> - 60.1.0-2
3262b1
- Disabled jemalloc on second arches
3262b1
3262b1
* Wed Jun 20 2018 Martin Stransky <stransky@redhat.com> - 60.1.0-1
3262b1
- Updated to 60.1.0 ESR
3262b1
3262b1
* Wed Jun 13 2018 Jan Horak <jhorak@redhat.com> - 60.0-12
3262b1
- Fixing bundled libffi issues
3262b1
- Readded some requirements
3262b1
3262b1
* Mon Jun 11 2018 Martin Stransky <stransky@redhat.com> - 60.0-10
3262b1
- Added fix for mozilla BZ#1436242 - IPC crashes.
3262b1
3262b1
* Mon Jun 11 2018 Jan Horak <jhorak@redhat.com> - 60.0-9
3262b1
- Bundling libffi for the sec-arches
3262b1
- Added openssl-devel for the Python
3262b1
- Fixing bundled gtk3
3262b1
3262b1
* Fri May 18 2018 Martin Stransky <stransky@redhat.com> - 60.0-8
3262b1
- Added fix for mozilla BZ#1458492
3262b1
3262b1
* Wed May 16 2018 Martin Stransky <stransky@redhat.com> - 60.0-7
3262b1
- Added patch from rhbz#1498561 to fix ppc64(le) crashes.
3262b1
3262b1
* Wed May 16 2018 Martin Stransky <stransky@redhat.com> - 60.0-6
3262b1
- Disabled jemalloc on second arches
3262b1
3262b1
* Sun May  6 2018 Jan Horak <jhorak@redhat.com> - 60.0-4
3262b1
- Update to 60.0 ESR
3262b1
3262b1
* Thu Mar  8 2018 Jan Horak <jhorak@redhat.com> - 52.7.0-1
3262b1
- Update to 52.7.0 ESR
3262b1
3262b1
* Mon Jan 29 2018 Martin Stransky <stransky@redhat.com> - 52.6.0-2
3262b1
- Build Firefox for desktop arches only (x86_64 and ppc64le)
3262b1
3262b1
* Thu Jan 18 2018 Martin Stransky <stransky@redhat.com> - 52.6.0-1
3262b1
- Update to 52.6.0 ESR
3262b1
3262b1
* Thu Nov  9 2017 Jan Horak <jhorak@redhat.com> - 52.5.0-1
3262b1
- Update to 52.5.0 ESR
3262b1
3262b1
* Mon Sep 25 2017 Jan Horak <jhorak@redhat.com> - 52.4.0-1
3262b1
- Update to 52.4.0 ESR
3262b1
3262b1
* Thu Aug  3 2017 Jan Horak <jhorak@redhat.com> - 52.3.0-3
3262b1
- Update to 52.3.0 ESR (b2)
3262b1
- Require correct nss version
3262b1
3262b1
* Tue Jun 13 2017 Jan Horak <jhorak@redhat.com> - 52.2.0-1
3262b1
- Update to 52.2.0 ESR
3262b1
3262b1
* Wed May 24 2017 Jan Horak <jhorak@redhat.com> - 52.1.2-1
3262b1
- Update to 52.1.2 ESR
3262b1
3262b1
* Wed May 24 2017 Jan Horak <jhorak@redhat.com> - 52.0-7
3262b1
- Added fix for accept language (rhbz#1454322)
3262b1
3262b1
* Wed Mar 22 2017 Jan Horak <jhorak@redhat.com> - 52.0-6
3262b1
- Removing patch required for older NSS from RHEL 7.3
3262b1
- Added patch for rhbz#1414564
3262b1
3262b1
* Fri Mar 17 2017 Martin Stransky <stransky@redhat.com> - 52.0-5
3262b1
- Added fix for mozbz#1348168/CVE-2017-5428
3262b1
3262b1
* Mon Mar  6 2017 Jan Horak <jhorak@redhat.com> - 52.0-4
3262b1
- Update to 52.0 ESR (b4)
3262b1
3262b1
* Thu Mar 2 2017 Martin Stransky <stransky@redhat.com> - 52.0-3
3262b1
- Added fix for rhbz#1423012 - ppc64 gfx crashes
3262b1
3262b1
* Wed Mar  1 2017 Jan Horak <jhorak@redhat.com> - 52.0-2
3262b1
- Enable system nss
3262b1
3262b1
* Tue Feb 28 2017 Martin Stransky <stransky@redhat.com> - 52.0-1
3262b1
- Update to 52.0ESR (B1)
3262b1
- Build RHEL7 package for Gtk3
3262b1
3262b1
* Mon Feb 27 2017 Martin Stransky <stransky@redhat.com> - 52.0-0.13
3262b1
- Added fix for rhbz#1414535
3262b1
3262b1
* Tue Feb 21 2017 Jan Horak <jhorak@redhat.com> - 52.0-0.12
3262b1
- Update to 52.0b8
3262b1
3262b1
* Tue Feb  7 2017 Jan Horak <jhorak@redhat.com> - 52.0-0.11
3262b1
- Readded addons patch
3262b1
3262b1
* Mon Feb  6 2017 Jan Horak <jhorak@redhat.com> - 52.0-0.10
3262b1
- Update to 52.0b3
3262b1
3262b1
* Tue Jan 31 2017 Jan Horak <jhorak@redhat.com> - 52.0-0.9
3262b1
- Update to 52.0b2
3262b1
3262b1
* Fri Jan 27 2017 Jan Horak <jhorak@redhat.com> - 52.0-0.8
3262b1
- Update to 52.0b1
3262b1
3262b1
* Thu Dec  8 2016 Jan Horak <jhorak@redhat.com> - 52.0-0.5
3262b1
- Firefox Aurora 52 testing build
73cc96