From 6e80f313aa352ecd012dbbd39f27855170ad982c Mon Sep 17 00:00:00 2001 From: lei_ju <983277505@qq.com> Date: Mon, 14 Sep 2020 19:47:19 +0800 Subject: [PATCH] Add BuildRequires python2 to fix build failure --- node-gyp.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/node-gyp.spec b/node-gyp.spec index ae7a593..46bf556 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: 1 +Release: 2 Summary: Node.js native addon build tool License: MIT URL: https://github.com/nodejs/node-gyp @@ -13,7 +13,7 @@ Patch3: node-gyp-python.patch BuildArch: noarch 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: gyp nodejs-devel libuv-devel http-parser-devel gcc-c++ python2 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(request) npm(require-inject) npm(rimraf) npm(semver) npm(tar) npm(which) @@ -50,5 +50,8 @@ ln -sf ../lib/node_modules/node-gyp/bin/node-gyp.js %{buildroot}%{_bindir}/node- %{_bindir}/node-gyp %changelog +* Mon Sep 14 2020 leiju - 3.6.0-2 +- Add BuildRequires python2 to fix build failure + * Mon Aug 17 2020 Shaoqiang Kang - 3.6.0-1 - Package init -- Gitee