forked from pool/nodejs22
[info=6f7127ad4924a93508fb1987e85f2a104f8eabe566e3cdaeb88af73312e90f9e]
OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/nodejs22?expand=0&rev=20
This commit is contained in:
parent
52ab1a1c03
commit
71bf67d95e
@ -1,3 +1,3 @@
|
|||||||
mtime: 1732097300
|
mtime: 1732119982
|
||||||
commit: 5ddc713fa17e7f2ea7234f6b0ccbd7fb9acb276d3b46c293f592bedfb137c3dd
|
commit: 6f7127ad4924a93508fb1987e85f2a104f8eabe566e3cdaeb88af73312e90f9e
|
||||||
url: https://src.opensuse.org/nodejs/nodejs22.git
|
url: https://src.opensuse.org/nodejs/nodejs22.git
|
||||||
|
@ -247,6 +247,7 @@ BuildRequires: python36
|
|||||||
%endif
|
%endif
|
||||||
%if %{?suse_version} == 1500
|
%if %{?suse_version} == 1500
|
||||||
BuildRequires: python311
|
BuildRequires: python311
|
||||||
|
%define forced_python_version 3.11
|
||||||
%endif
|
%endif
|
||||||
%if %{?suse_version} > 1500
|
%if %{?suse_version} > 1500
|
||||||
BuildRequires: python3
|
BuildRequires: python3
|
||||||
@ -951,6 +952,7 @@ rm test/parallel/test-strace-openat-openssl.js
|
|||||||
%if 0%{?forced_python_version:1}
|
%if 0%{?forced_python_version:1}
|
||||||
sed -i -e "s,'python3','python%{forced_python_version}'," test/parallel/test-child-process-set-blocking.js
|
sed -i -e "s,'python3','python%{forced_python_version}'," test/parallel/test-child-process-set-blocking.js
|
||||||
test -e tools/pseudo-tty.py && sed -i -e "s,^#!/usr/bin/env python3$,#!/usr/bin/python%{forced_python_version}," tools/pseudo-tty.py ||:
|
test -e tools/pseudo-tty.py && sed -i -e "s,^#!/usr/bin/env python3$,#!/usr/bin/python%{forced_python_version}," tools/pseudo-tty.py ||:
|
||||||
|
export PYTHON="/usr/bin/python%{forced_python_version}"
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
ln addon-rpm.gypi deps/npm/node_modules/node-gyp/addon-rpm.gypi
|
ln addon-rpm.gypi deps/npm/node_modules/node-gyp/addon-rpm.gypi
|
||||||
|
Loading…
Reference in New Issue
Block a user