fix nodejs issue

epel8
Than Ngo 2 years ago
parent 2e0aa4d4c9
commit 1057f0a0a2

@ -510,7 +510,9 @@ BuildRequires: minizip-compat-devel
%endif
# RHEL 8 needs newer nodejs
%if ! 0%{?rhel} == 8
%if 0%{?rhel} == 8
# nothing
%else
BuildRequires: nodejs
%endif
@ -1388,7 +1390,7 @@ fi
%if %{bootstrap}
tools/gn/bootstrap/bootstrap.py --gn-gen-args="$CHROMIUM_CORE_GN_DEFINES $CHROMIUM_BROWSER_GN_DEFINES"
%else
cp -a %{_bindir}/gn %{builddir}/
mkdir -p %{builddir} && cp -a %{_bindir}/gn %{builddir}/
%endif
%{builddir}/gn --script-executable=%{chromium_pybin} gen --args="$CHROMIUM_CORE_GN_DEFINES $CHROMIUM_BROWSER_GN_DEFINES" %{builddir}

Loading…
Cancel
Save