nodejs-symlink-deps: symlink unconditionally in the buildroot

This commit is contained in:
T.C. Hollingsworth 2013-04-03 19:34:39 -07:00
parent d73ff2e5c0
commit f8a8f5bf68
2 changed files with 5 additions and 2 deletions

View file

@ -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:

View file

@ -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 <tchollingsworth@gmail.com> - 0.10.3-2
- nodejs-symlink-deps: symlink unconditionally in the buildroot
* Wed Apr 03 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.10.3-1
- new upstream release 0.10.3
http://blog.nodejs.org/2013/04/03/node-v0-10-3-stable/