diff options
author | Jan Horak <jhorak@redhat.com> | 2013-06-28 16:33:48 +0200 |
---|---|---|
committer | Jan Horak <jhorak@redhat.com> | 2013-06-28 16:33:48 +0200 |
commit | 42253338f0da8ec66cf191e4fc73a4565a7c42ac (patch) | |
tree | 2bcbd98d9551e7628ec89d0bbd07049c94803207 | |
parent | Removed unused patch (diff) | |
download | librewolf-fedora-ff-42253338f0da8ec66cf191e4fc73a4565a7c42ac.tar.gz librewolf-fedora-ff-42253338f0da8ec66cf191e4fc73a4565a7c42ac.tar.bz2 librewolf-fedora-ff-42253338f0da8ec66cf191e4fc73a4565a7c42ac.zip |
Fixed crashreporter for third arch
-rw-r--r-- | firefox.spec | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/firefox.spec b/firefox.spec index 178ac78..8ef25f7 100644 --- a/firefox.spec +++ b/firefox.spec @@ -28,7 +28,11 @@ %define official_branding 1 %define build_langpacks 1 -%define include_debuginfo 1 +%ifarch %{ix86} x86_64 +%define enable_mozilla_crashreporter 1 +%else +%define enable_mozilla_crashreporter 0 +%endif %if %{alpha_version} > 0 %global pre_version a%{alpha_version} @@ -55,7 +59,7 @@ Summary: Mozilla Firefox Web browser Name: firefox Version: 22.0 -Release: 1%{?pre_tag}%{?dist} +Release: 2%{?pre_tag}%{?dist} URL: http://www.mozilla.org/projects/firefox/ License: MPLv1.1 or GPLv2+ or LGPLv2+ Group: Applications/Internet @@ -346,7 +350,7 @@ ln -s %{mozappdir}/defaults/preferences $RPM_BUILD_ROOT/%{mozappdir}/browser/def %{__install} -p -c -m 644 LICENSE $RPM_BUILD_ROOT/%{mozappdir} # Enable crash reporter for Firefox application -%if %{include_debuginfo} +%if %{enable_mozilla_crashreporter} sed -i -e "s/\[Crash Reporter\]/[Crash Reporter]\nEnabled=1/" $RPM_BUILD_ROOT/%{mozappdir}/application.ini %endif @@ -420,13 +424,16 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %dir %{mozappdir}/webapprt %{mozappdir}/webapprt/omni.ja %{mozappdir}/webapprt/webapprt.ini -%if %{include_debuginfo} +%if %{enable_mozilla_crashreporter} %{mozappdir}/browser/crashreporter-override.ini %endif #--------------------------------------------------------------------- %changelog +* Fri Jun 28 2013 Jan Horak <jhorak@redhat.com> - 22.0-2 +- Fixed crashreporter for third arch + * Fri Jun 21 2013 Martin Stransky <stransky@redhat.com> - 22.0-1 - Updated to latest upstream (22.0) |