[packages/nodejs: 15/15] update node_module_version to 46
glen
glen at pld-linux.org
Fri Apr 15 15:58:07 CEST 2016
commit c8ef655685d87e8ec501ee249a3bb1722720116b
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Fri Apr 15 16:57:52 2016 +0300
update node_module_version to 46
nodejs.spec | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/nodejs.spec b/nodejs.spec
index 83b44be..c7e7fef 100644
--- a/nodejs.spec
+++ b/nodejs.spec
@@ -11,7 +11,7 @@
# - https://nodejs.org/en/download/releases/
# see "Modules" column in https://nodejs.org/en/download/releases/
-%define node_module_version 11
+%define node_module_version 46
Summary: Asynchronous JavaScript Engine
Name: nodejs
# 4.2.x is LTS
@@ -111,7 +111,7 @@ rm -r deps/openssl
rm -r deps/zlib
%build
-ver=$(awk '/#define NODE_MODULE_VERSION/{print $NF}' src/node_version.h)
+ver=$(awk '/#define NODE_MODULE_VERSION/{print $3}' src/node_version.h)
test "$ver" = "%{node_module_version}"
# CC used only to detect if CC is clang, not used for compiling
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/nodejs.git/commitdiff/c8ef655685d87e8ec501ee249a3bb1722720116b
More information about the pld-cvs-commit
mailing list