Enabled mozilla crashreporter again

This commit is contained in:
Jan Horak 2022-11-21 14:04:07 +01:00
parent e6bc05547a
commit 5da6e10440
1 changed files with 6 additions and 3 deletions

View File

@ -52,8 +52,7 @@ ExcludeArch: i686
# https://bugzilla.redhat.com/show_bug.cgi?id=1951606
%global enable_mozilla_crashreporter 0
%ifarch x86_64 %{ix86}
# Temporaty disabled due to build issues
%global enable_mozilla_crashreporter 0
%global enable_mozilla_crashreporter 1
%endif
%if %{build_with_asan}
%global enable_mozilla_crashreporter 0
@ -173,7 +172,7 @@ ExcludeArch: i686
Summary: Mozilla Firefox Web browser
Name: firefox
Version: 107.0
Release: 1%{?pre_tag}%{?dist}
Release: 2%{?pre_tag}%{?dist}
URL: https://www.mozilla.org/firefox/
License: MPLv1.1 or GPLv2+ or LGPLv2+
Source0: https://archive.mozilla.org/pub/firefox/releases/%{version}%{?pre_version}/source/firefox-%{version}%{?pre_version}.source.tar.xz
@ -948,6 +947,7 @@ ln -s %{_datadir}/myspell %{buildroot}%{mozappdir}/dictionaries
# Enable crash reporter for Firefox application
%if %{enable_mozilla_crashreporter}
./mach buildsymbols
sed -i -e "s/\[Crash Reporter\]/[Crash Reporter]\nEnabled=1/" %{buildroot}/%{mozappdir}/application.ini
# Add debuginfo for crash-stats.mozilla.com
%{__mkdir_p} %{buildroot}/%{moz_debug_dir}
@ -1125,6 +1125,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
#---------------------------------------------------------------------
%changelog
* Mon Nov 21 2022 Jan Horak <jhorak@redhat.com> - 107.0-2
- Enabled mozilla crashreporter again
* Mon Nov 14 2022 Martin Stransky <stransky@redhat.com>- 107.0-1
- Update to 107.0