From afeb806098c0a7af01e9b17204eb8aa8efe5a342 Mon Sep 17 00:00:00 2001 From: lingsheng Date: Fri, 22 Jan 2021 09:24:22 +0800 Subject: [PATCH] Limit npm(nan) version to fix test errors --- node-gyp.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/node-gyp.spec b/node-gyp.spec index 9258daa..e8f6db1 100644 --- a/node-gyp.spec +++ b/node-gyp.spec @@ -1,7 +1,7 @@ %{?nodejs_find_provides_and_requires} Name: node-gyp Version: 3.6.0 -Release: 2 +Release: 3 Summary: Node.js native addon build tool License: MIT URL: https://github.com/nodejs/node-gyp @@ -16,7 +16,7 @@ ExclusiveArch: %{nodejs_arches} noarch Requires: gyp nodejs-devel libuv-devel http-parser-devel gcc-c++ BuildRequires: gyp nodejs-devel libuv-devel http-parser-devel gcc-c++ BuildRequires: npm(tape) npm(bindings) npm(fstream) npm(glob) npm(graceful-fs) npm(minimatch) -BuildRequires: npm(mkdirp) npm(nan) npm(nopt) npm(npmlog) npm(osenv) npm(path-array) +BuildRequires: npm(mkdirp) npm(nan) >= 2.0.0 npm(nopt) npm(npmlog) npm(osenv) npm(path-array) BuildRequires: npm(request) npm(require-inject) npm(rimraf) npm(semver) npm(tar) npm(which) %description node-gyp is a cross-platform command-line tool written in Node.js for compiling @@ -51,6 +51,9 @@ ln -sf ../lib/node_modules/node-gyp/bin/node-gyp.js %{buildroot}%{_bindir}/node- %{_bindir}/node-gyp %changelog +* Thu Jan 21 2021 lingsheng - 3.6.0-3 +- Limit npm(nan) version to fix test errors + * Tue Sep 15 2020 chengzihan - 3.6.0-2 - add patch node-gyp-python3.patch - default to python3 instead of python2 -- Gitee