[packages/nodejs] up to 16.13.0
atler
atler at pld-linux.org
Sun Oct 31 23:30:57 CET 2021
commit fbdba246adc0cf6e5b344e9a7539cd69807f01b1
Author: Jan Palus <atler at pld-linux.org>
Date: Sun Oct 31 23:27:20 2021 +0100
up to 16.13.0
- add out/tools/bin to PATH: nodejs creates 'python' symlink there
pointing to applicable python version. while Makefile has PATH
customization for newly spawned processes, it does not apply to make
invocation itself
nodejs.spec | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/nodejs.spec b/nodejs.spec
index 43983cd..0b388fe 100644
--- a/nodejs.spec
+++ b/nodejs.spec
@@ -25,12 +25,12 @@ Name: nodejs
# Active start: 2020-10-27
# Maintenance start: October 2020
# Maintenance end: April 2023
-Version: 16.10.0
+Version: 16.13.0
Release: 1
License: BSD and MIT and Apache v2.0 and GPL v3
Group: Development/Languages
Source0: https://nodejs.org/dist/v%{version}/node-v%{version}.tar.gz
-# Source0-md5: 8c5f13de865ad83d4d759414fe12e261
+# Source0-md5: c8571e797b311520ec19ece7c7c64247
Patch0: system_cares.patch
# force node to use /usr/lib/node as the systemwide module directory
Patch2: %{name}-libpath.patch
@@ -158,7 +158,7 @@ Sondy systemtap/dtrace dla Node.js.
%patch4 -p1
%patch5 -p1
-grep -r '#!.*env python' -l . | xargs %{__sed} -i -e '1 s,#!.*env python,#!%{__python3},'
+grep -r '#!.*env python' -l . | xargs %{__sed} -i -e '1 s,#!.*env python$,#!%{__python3},'
%{?with_system_brotli:%{__rm} -r deps/brotli}
%{__rm} -r deps/cares
@@ -201,6 +201,7 @@ GYP_DEFINES="soname_version=%{sover}" \
# CXXFLAGS must be exported, as it is needed for make, not gyp
CXXFLAGS="%{rpmcxxflags} -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fPIC" \
LDFLAGS="%{rpmldflags}" \
+PATH="$(pwd)/out/tools/bin:$PATH" \
%{__make} -C out \
BUILDTYPE=Release \
V=1
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/nodejs.git/commitdiff/fbdba246adc0cf6e5b344e9a7539cd69807f01b1
More information about the pld-cvs-commit
mailing list