summaryrefslogtreecommitdiff
path: root/firefox.spec
diff options
context:
space:
mode:
authorJan Horak <jhorak@redhat.com>2017-08-29 10:39:08 +0200
committerJan Horak <jhorak@redhat.com>2017-08-29 10:39:08 +0200
commitb41c541c5b36642f44d01d761d2607ef0ec34ee5 (patch)
tree63c70a1120a88f9174655486bb5d94de32f0f37c /firefox.spec
parentUpdated to 55.0.2 (diff)
downloadlibrewolf-fedora-ff-b41c541c5b36642f44d01d761d2607ef0ec34ee5.tar.gz
librewolf-fedora-ff-b41c541c5b36642f44d01d761d2607ef0ec34ee5.tar.bz2
librewolf-fedora-ff-b41c541c5b36642f44d01d761d2607ef0ec34ee5.zip
Added google api key for safebrowsing, fixing failing builds on latest fedoras
Diffstat (limited to 'firefox.spec')
-rw-r--r--firefox.spec8
1 files changed, 7 insertions, 1 deletions
diff --git a/firefox.spec b/firefox.spec
index 1ea8a09..65d95ea 100644
--- a/firefox.spec
+++ b/firefox.spec
@@ -27,7 +27,7 @@
# Use system libicu?
%if 0%{?fedora} > 27
-%define system_libicu 1
+%define system_libicu 0
%else
%define system_libicu 0
%endif
@@ -90,9 +90,11 @@
%define enable_mozilla_crashreporter 0
%if !%{debug_build}
%ifarch %{ix86} x86_64
+%if 0%{?fedora} < 27
%define enable_mozilla_crashreporter 1
%endif
%endif
+%endif
Summary: Mozilla Firefox Web browser
Name: firefox
@@ -113,6 +115,7 @@ Source23: firefox.1
Source24: mozilla-api-key
Source25: firefox-symbolic.svg
Source26: distribution.ini
+Source27: google-api-key
# Build patches
Patch0: firefox-install-dir.patch
@@ -133,6 +136,7 @@ Patch32: build-rust-ppc64le.patch
Patch33: build-ppc-s390-dom.patch
Patch34: build-cubeb-pulse-arm.patch
Patch35: build-ppc-jit.patch
+Patch36: build-missing-xlocale-h.patch
# Fedora specific patches
# Unable to install addons from https pages
@@ -346,6 +350,7 @@ This package contains results of tests executed during build.
# Patch for big endian platforms only
%if 0%{?big_endian}
%patch26 -p1 -b .icu
+%patch37 -p2 -b .xlocale
%endif
%{__rm} -f .mozconfig
@@ -354,6 +359,7 @@ This package contains results of tests executed during build.
echo "ac_add_options --enable-official-branding" >> .mozconfig
%endif
%{__cp} %{SOURCE24} mozilla-api-key
+%{__cp} %{SOURCE27} google-api-key
%if %{?system_nss}
echo "ac_add_options --with-system-nspr" >> .mozconfig
bgstack15