From fb183ee57baf494d5072984416bd0e6d1f91b70a Mon Sep 17 00:00:00 2001 From: "T.C. Hollingsworth" Date: Tue, 12 Nov 2013 14:56:28 -0700 Subject: [PATCH] refresh gyp bundled dep removal patch --- nodejs-disable-gyp-deps.patch | 23 +++++++++++++++++++---- nodejs.spec | 2 +- 2 files changed, 20 insertions(+), 5 deletions(-) diff --git a/nodejs-disable-gyp-deps.patch b/nodejs-disable-gyp-deps.patch index 5be37d6..ae48d24 100644 --- a/nodejs-disable-gyp-deps.patch +++ b/nodejs-disable-gyp-deps.patch @@ -1,6 +1,18 @@ ---- Makefile~ 2013-05-17 13:59:10.000000000 -0700 -+++ Makefile 2013-05-28 20:09:57.199250068 -0700 -@@ -43,7 +43,7 @@ +From 4464455834276c845a63fede515cb62655afb2da Mon Sep 17 00:00:00 2001 +From: "T.C. Hollingsworth" +Date: Tue, 12 Nov 2013 14:51:03 -0700 +Subject: [PATCH] disable running gyp files for bundled deps + +these aren't used in Fedora +--- + Makefile | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/Makefile b/Makefile +index 8177017..81d150f 100644 +--- a/Makefile ++++ b/Makefile +@@ -43,7 +43,7 @@ node_g: config.gypi out/Makefile ln -fs out/Debug/node $@ endif @@ -8,4 +20,7 @@ +out/Makefile: common.gypi node.gyp config.gypi ifeq ($(USE_NINJA),1) touch out/Makefile - $(PYTHON) tools/gyp_node -f ninja + $(PYTHON) tools/gyp_node.py -f ninja +-- +1.8.4.2 + diff --git a/nodejs.spec b/nodejs.spec index f0e8439..2d12a02 100644 --- a/nodejs.spec +++ b/nodejs.spec @@ -83,7 +83,7 @@ The API documentation for the Node.js JavaScript runtime. %prep %setup -q -n node-v%{version} -%patch1 -p0 +%patch1 -p1 rm -rf deps