xulrunner/xulrunner.spec
branchfirefox31
changeset 815 2a8cd51644d2
parent 814 354545f01596
child 825 aedf824cfd97
--- a/xulrunner/xulrunner.spec	Sun Nov 30 10:11:23 2014 +0100
+++ b/xulrunner/xulrunner.spec	Wed Dec 03 14:14:13 2014 +0100
@@ -16,10 +16,11 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-%define version_internal 31.2.0
+
+%define version_internal 31.3.0
 %define apiversion 31
-%define uaweight 3120000
-%define releasedate 2014101100
+%define uaweight 3130000
+%define releasedate 2014112600
 %define shared_js 0
 %define has_system_nspr  1
 %define has_system_nss   1
@@ -106,6 +107,7 @@
 Patch1:         toolkit-download-folder.patch
 Patch2:         mozilla-nongnome-proxies.patch
 Patch3:         mozilla-prefer_plugin_pref.patch
+Patch4:         mozilla-pkgconfig.patch
 Patch6:         mozilla-preferences.patch
 Patch7:         mozilla-language.patch
 Patch8:         mozilla-ntlm-full-path.patch
@@ -156,7 +158,6 @@
 with only mild differences from the published standard.
 %endif
 
-
 %package devel
 Summary:        XULRunner/Gecko SDK
 Group:          Development/Libraries/Other
@@ -218,6 +219,7 @@
 %patch1 -p1
 %patch2 -p1
 %patch3 -p1
+%patch4 -p1
 %patch6 -p1
 %patch7 -p1
 %patch8 -p1
@@ -259,7 +261,8 @@
 export LDFLAGS=" -Wl,-rpath -Wl,${MOZ_APP_DIR}"
 %ifarch %arm
 # debug symbols require too much memory during build
-export CFLAGS="${CFLAGS/-g/}"
+export CFLAGS="${CFLAGS/-g / }"
+# Limit RAM usage during link
 LDFLAGS+="-Wl,--reduce-memory-overheads -Wl,--no-keep-memory"
 %endif
 export CXXFLAGS="$CFLAGS"
@@ -285,7 +288,7 @@
 ac_add_options --disable-optimize
 %endif
 %endif
-%ifnarch ppc ppc64 ppc64le
+%ifnarch aarch64 ppc ppc64 ppc64le
 ac_add_options --enable-elf-hack
 %endif
 ac_add_options --enable-extensions=default