From 5ac65d633c04b8ec3302a3eccc9ee497d7d4adc9 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Arkadiusz=20Mi=C5=9Bkiewicz?= Date: Mon, 3 Jun 2019 10:51:51 +0200 Subject: [PATCH] - up to 10.16.0 --- nodejs-lib64path.patch | 6 +++--- nodejs.spec | 22 +++++++++++----------- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/nodejs-lib64path.patch b/nodejs-lib64path.patch index 8830d51..bb7e68d 100644 --- a/nodejs-lib64path.patch +++ b/nodejs-lib64path.patch @@ -1,6 +1,6 @@ ---- node-v6.11.5/lib/module.js~ 2017-10-24 22:10:13.000000000 +0300 -+++ node-v6.11.5/lib/module.js 2017-11-02 13:32:42.480301417 +0200 -@@ -625,7 +625,7 @@ +--- node-v10.16.0/lib/internal/modules/cjs/loader.js~ 2019-05-28 23:32:23.000000000 +0200 ++++ node-v10.16.0/lib/internal/modules/cjs/loader.js 2019-06-03 09:11:35.662170541 +0200 +@@ -861,7 +861,7 @@ Module._initPaths = function() { } else { prefixDir = path.resolve(process.execPath, '..', '..'); } diff --git a/nodejs.spec b/nodejs.spec index 2e3c8b4..7baf56e 100644 --- a/nodejs.spec +++ b/nodejs.spec @@ -14,20 +14,20 @@ # add-on binaries can be loaded in to without needing to be re-compiled. It # used to be stored as hex value in earlier versions, but is now represented as # an integer. -%define node_module_version 57 +%define node_module_version 64 Summary: Asynchronous JavaScript Engine Summary(pl.UTF-8): Asynchroniczny silnik JavaScriptu Name: nodejs -# 8.x LTS - https://github.com/nodejs/Release -# Active start: 2017-10-31 -# Maintenance start: April 2019 -# Maintenance end: December 2019 -Version: 8.16.0 +# 10.x LTS - https://github.com/nodejs/Release +# Active start: 2018-10-30 +# Maintenance start: April 2020 +# Maintenance end: April 2021 +Version: 10.16.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: e3bb729fd8cde08db6ae1a8b56db2f44 +# Source0-md5: 46f47630e088540968962f1ad71b9d0a Patch1: %{name}-shared.patch # force node to use /usr/lib/node as the systemwide module directory Patch2: %{name}-libpath.patch @@ -36,9 +36,9 @@ Patch3: %{name}-lib64path.patch Patch5: uv-fpic.patch URL: https://nodejs.org/ BuildRequires: gcc >= 6:4.8 -BuildRequires: http-parser-devel >= 2.7.0 +BuildRequires: http-parser-devel >= 2.9.2 BuildRequires: libstdc++-devel >= 6:4.8 -%{?with_system_uv:BuildRequires: libuv-devel >= 1.18.0} +%{?with_system_uv:BuildRequires: libuv-devel >= 1.29.0} BuildRequires: openssl-devel >= 1.0.1 BuildRequires: pkgconfig BuildRequires: python >= 1:2.7 @@ -81,9 +81,9 @@ Summary(pl.UTF-8): Pliki nagłówkowe nodejs Group: Development/Libraries Requires: %{name} = %{version}-%{release} Requires: gcc -Requires: http-parser-devel >= 2.5.0 +Requires: http-parser-devel >= 2.9.2 Requires: libstdc++-devel -%{?with_system_uv:Requires: libuv-devel >= 1.6.0} +%{?with_system_uv:Requires: libuv-devel >= 1.29.0} Requires: openssl-devel Requires: zlib-devel -- 2.43.0