MozillaFirefox/MozillaFirefox.spec
branchfirefox63
changeset 1079 1663e876731f
parent 1078 9f49c406dc11
child 1081 9fec29d2ead2
--- a/MozillaFirefox/MozillaFirefox.spec	Sat Nov 10 15:07:31 2018 +0100
+++ b/MozillaFirefox/MozillaFirefox.spec	Wed Nov 14 08:31:32 2018 +0100
@@ -75,13 +75,13 @@
 BuildRequires:  makeinfo
 BuildRequires:  mozilla-nspr-devel >= 4.20
 BuildRequires:  mozilla-nss-devel >= 3.39
-BuildRequires:  nodejs
+BuildRequires:  nodejs8 >= 8.11
 BuildRequires:  python-devel
 BuildRequires:  python2-xml
 BuildRequires:  python3 >= 3.5
 BuildRequires:  rust >= 1.28
 BuildRequires:  cargo >= 1.28
-BuildRequires:  cargo-crate-cbindgen >= 0.6.2
+BuildRequires:  rust-cbindgen >= 0.6.2
 BuildRequires:  startup-notification-devel
 BuildRequires:  unzip
 BuildRequires:  update-desktop-files
@@ -162,6 +162,7 @@
 Patch9:         mozilla-bmo1463035.patch
 Patch10:        mozilla-bmo1491289.patch
 Patch11:        mozilla-cubeb-noreturn.patch
+Patch12:        mozilla-newer-cbindgen.patch
 # Firefox/browser
 Patch101:       firefox-kde.patch
 Patch102:       firefox-branded-icons.patch
@@ -273,6 +274,7 @@
 %patch9 -p1
 %patch10 -p1
 %patch11 -p1
+%patch12 -p1
 # Firefox
 %patch101 -p1
 %patch102 -p1
@@ -360,6 +362,9 @@
 %ifarch %arm
 ac_add_options --disable-elf-hack
 %endif
+%if 0%{?suse_version} > 1549
+ac_add_options --disable-elf-hack
+%endif
 ac_add_options --with-system-nspr
 ac_add_options --with-system-nss
 %if %{localize}