From f8a8f5bf6843ef1ecd8682de16000fcc014f9978 Mon Sep 17 00:00:00 2001 From: "T.C. Hollingsworth" Date: Wed, 3 Apr 2013 19:34:39 -0700 Subject: [PATCH] nodejs-symlink-deps: symlink unconditionally in the buildroot --- nodejs-symlink-deps | 2 +- nodejs.spec | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/nodejs-symlink-deps b/nodejs-symlink-deps index 258607c..44b0348 100755 --- a/nodejs-symlink-deps +++ b/nodejs-symlink-deps @@ -54,7 +54,7 @@ for path in modules: for dep in md['dependencies'].iterkeys(): target = os.path.join(sitelib, dep) - if os.path.exists(target): + if not check or os.path.exists(target): os.symlink(target, dep) if check and '--no-devdeps' not in sys.argv and 'devDependencies' in md: diff --git a/nodejs.spec b/nodejs.spec index 5725756..50f3eeb 100644 --- a/nodejs.spec +++ b/nodejs.spec @@ -1,6 +1,6 @@ Name: nodejs Version: 0.10.3 -Release: 1%{?dist} +Release: 2%{?dist} Summary: JavaScript runtime License: MIT and ASL 2.0 and ISC and BSD Group: Development/Languages @@ -188,6 +188,9 @@ cp -p common.gypi %{buildroot}%{_datadir}/node %{_defaultdocdir}/%{name}-docs-%{version} %changelog +* Thu Apr 04 2013 T.C. Hollingsworth - 0.10.3-2 +- nodejs-symlink-deps: symlink unconditionally in the buildroot + * Wed Apr 03 2013 T.C. Hollingsworth - 0.10.3-1 - new upstream release 0.10.3 http://blog.nodejs.org/2013/04/03/node-v0-10-3-stable/