--- a/MozillaFirefox/MozillaFirefox.spec Mon Sep 09 09:30:11 2019 +0200
+++ b/MozillaFirefox/MozillaFirefox.spec Mon Sep 09 23:36:13 2019 +0200
@@ -83,7 +83,7 @@
BuildRequires: mozilla-nspr-devel >= 4.21
BuildRequires: mozilla-nss-devel >= 3.45
BuildRequires: nasm >= 2.13
-BuildRequires: nodejs >= 8.11
+BuildRequires: nodejs8 >= 8.11
BuildRequires: python-devel
BuildRequires: python2-xml
BuildRequires: python3 >= 3.5
@@ -137,7 +137,7 @@
Group: Productivity/Networking/Web/Browsers
Url: http://www.mozilla.org/
%if !%{with only_print_mozconfig}
-Source: http://ftp.mozilla.org/pub/firefox/releases/%{version}%{orig_suffix}/source/firefox-%{orig_version}%{orig_suffix}.source.tar.xz
+Source: http://ftp.mozilla.org/pub/%{progname}/releases/%{version}%{orig_suffix}/source/firefox-%{orig_version}%{orig_suffix}.source.tar.xz
Source1: MozillaFirefox.desktop
Source2: MozillaFirefox-rpmlintrc
Source3: mozilla.sh.in
@@ -305,7 +305,7 @@
%patch8 -p1
%patch9 -p1
%patch10 -p1
-%ifarch s390x
+%ifarch s390x ppc64
%patch11 -p1
%endif
%patch12 -p1
@@ -313,10 +313,10 @@
%patch14 -p1
%patch15 -p1
%patch16 -p1
-#%patch17 -p1
-#%patch18 -p1
-#%patch19 -p1
-%patch20 -p1
+%patch17 -p1
+%patch18 -p1
+%patch19 -p1
+#%patch20 -p1
%patch21 -p1
%patch22 -p1
# Firefox
@@ -446,7 +446,7 @@
ac_add_options --disable-webrtc
%endif
# mitigation/workaround for bmo#1512162
-%ifarch ppc64le
+%ifarch ppc64le s390x
ac_add_options --enable-optimize="-O1"
%endif
%ifarch x86_64