Added nodejs as buildrequire
This commit is contained in:
parent
72ae43e747
commit
c5201d52dc
2
node-stdout-nonblocking-wrapper
Executable file
2
node-stdout-nonblocking-wrapper
Executable file
@ -0,0 +1,2 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
exec /usr/bin/node "$@" 2>&1 | cat -
|
@ -110,6 +110,7 @@ Source20: thunderbird.desktop
|
|||||||
Source21: thunderbird.sh.in
|
Source21: thunderbird.sh.in
|
||||||
Source28: thunderbird-wayland.sh.in
|
Source28: thunderbird-wayland.sh.in
|
||||||
Source29: thunderbird-wayland.desktop
|
Source29: thunderbird-wayland.desktop
|
||||||
|
Source32: node-stdout-nonblocking-wrapper
|
||||||
|
|
||||||
# Build patches
|
# Build patches
|
||||||
Patch9: mozilla-build-arm.patch
|
Patch9: mozilla-build-arm.patch
|
||||||
@ -201,6 +202,8 @@ BuildRequires: python2-devel
|
|||||||
%if !0%{?use_bundled_cbindgen}
|
%if !0%{?use_bundled_cbindgen}
|
||||||
BuildRequires: cbindgen
|
BuildRequires: cbindgen
|
||||||
%endif
|
%endif
|
||||||
|
BuildRequires: nodejs
|
||||||
|
BuildRequires: nasm >= 1.13
|
||||||
|
|
||||||
|
|
||||||
Suggests: u2f-hidraw-policy
|
Suggests: u2f-hidraw-policy
|
||||||
@ -383,6 +386,8 @@ echo "ac_add_options --enable-crashreporter" >> .mozconfig
|
|||||||
echo "ac_add_options --disable-crashreporter" >> .mozconfig
|
echo "ac_add_options --disable-crashreporter" >> .mozconfig
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
echo 'export NODEJS="%{_buildrootdir}/bin/node-stdout-nonblocking-wrapper"' >> .mozconfig
|
||||||
|
|
||||||
#===============================================================================
|
#===============================================================================
|
||||||
|
|
||||||
%build
|
%build
|
||||||
@ -423,6 +428,9 @@ esac
|
|||||||
rm -f config/external/icu/data/icudt*l.dat
|
rm -f config/external/icu/data/icudt*l.dat
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
mkdir %{_buildrootdir}/bin || :
|
||||||
|
cp %{SOURCE32} %{_buildrootdir}/bin || :
|
||||||
|
|
||||||
# Update the various config.guess to upstream release for aarch64 support
|
# Update the various config.guess to upstream release for aarch64 support
|
||||||
find ./ -name config.guess -exec cp /usr/lib/rpm/config.guess {} ';'
|
find ./ -name config.guess -exec cp /usr/lib/rpm/config.guess {} ';'
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user