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/