summaryrefslogtreecommitdiff
path: root/firefox.spec
diff options
context:
space:
mode:
authorJan Horak <jhorak@redhat.com>2014-04-08 16:03:23 +0200
committerJan Horak <jhorak@redhat.com>2014-04-08 16:03:23 +0200
commit7262a36be4cd3a245cd1ee9a5c1ebee997a3de91 (patch)
tree3a164bab0f792084761075fa36899d3942823566 /firefox.spec
parentArm build fix (diff)
downloadlibrewolf-fedora-ff-7262a36be4cd3a245cd1ee9a5c1ebee997a3de91.tar.gz
librewolf-fedora-ff-7262a36be4cd3a245cd1ee9a5c1ebee997a3de91.tar.bz2
librewolf-fedora-ff-7262a36be4cd3a245cd1ee9a5c1ebee997a3de91.zip
Support for ppc64le
Diffstat (limited to 'firefox.spec')
-rw-r--r--firefox.spec11
1 files changed, 10 insertions, 1 deletions
diff --git a/firefox.spec b/firefox.spec
index d31e76b..e8e81d2 100644
--- a/firefox.spec
+++ b/firefox.spec
@@ -122,6 +122,7 @@ Patch215: firefox-15.0-enable-addons.patch
Patch216: firefox-duckduckgo.patch
# Upstream patches
+Patch300: mozilla-ppc64le.patch
%if %{official_branding}
# Required by Mozilla Corporation
@@ -235,6 +236,11 @@ cd %{tarballdir}
%patch216 -p1 -b .duckduckgo
# Upstream patches
+%ifarch ppc64le
+%if 0%{?fedora} > 20
+%patch300 -p1 -b .ppc64le
+%endif
+%endif
%if %{official_branding}
# Required by Mozilla Corporation
@@ -378,7 +384,7 @@ export LIBDIR='%{_libdir}'
MOZ_SMP_FLAGS=-j1
# On x86 architectures, Mozilla can build up to 4 jobs at once in parallel,
# however builds tend to fail on other arches when building in parallel.
-%ifarch %{ix86} x86_64 ppc ppc64
+%ifarch %{ix86} x86_64 ppc ppc64 ppc64le
[ -z "$RPM_BUILD_NCPUS" ] && \
RPM_BUILD_NCPUS="`/usr/bin/getconf _NPROCESSORS_ONLN`"
[ "$RPM_BUILD_NCPUS" -ge 2 ] && MOZ_SMP_FLAGS=-j2
@@ -633,6 +639,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
#---------------------------------------------------------------------
%changelog
+* Tue Apr 8 2014 Jan Horak <jhorak@redhat.com> - 28.0-4
+- Support for ppc64le architecture
+
* Wed Mar 19 2014 Martin Stransky <stransky@redhat.com> - 28.0-3
- Arm build fix
bgstack15