mirror of
https://src.fedoraproject.org/rpms/nodejs18.git
synced 2024-11-28 11:06:08 +00:00
nodejs-symlink-deps: symlink unconditionally in the buildroot
This commit is contained in:
parent
d73ff2e5c0
commit
f8a8f5bf68
2 changed files with 5 additions and 2 deletions
|
@ -54,7 +54,7 @@ for path in modules:
|
||||||
for dep in md['dependencies'].iterkeys():
|
for dep in md['dependencies'].iterkeys():
|
||||||
target = os.path.join(sitelib, dep)
|
target = os.path.join(sitelib, dep)
|
||||||
|
|
||||||
if os.path.exists(target):
|
if not check or os.path.exists(target):
|
||||||
os.symlink(target, dep)
|
os.symlink(target, dep)
|
||||||
|
|
||||||
if check and '--no-devdeps' not in sys.argv and 'devDependencies' in md:
|
if check and '--no-devdeps' not in sys.argv and 'devDependencies' in md:
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
Name: nodejs
|
Name: nodejs
|
||||||
Version: 0.10.3
|
Version: 0.10.3
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: JavaScript runtime
|
Summary: JavaScript runtime
|
||||||
License: MIT and ASL 2.0 and ISC and BSD
|
License: MIT and ASL 2.0 and ISC and BSD
|
||||||
Group: Development/Languages
|
Group: Development/Languages
|
||||||
|
@ -188,6 +188,9 @@ cp -p common.gypi %{buildroot}%{_datadir}/node
|
||||||
%{_defaultdocdir}/%{name}-docs-%{version}
|
%{_defaultdocdir}/%{name}-docs-%{version}
|
||||||
|
|
||||||
%changelog
|
%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
|
* Wed Apr 03 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.10.3-1
|
||||||
- new upstream release 0.10.3
|
- new upstream release 0.10.3
|
||||||
http://blog.nodejs.org/2013/04/03/node-v0-10-3-stable/
|
http://blog.nodejs.org/2013/04/03/node-v0-10-3-stable/
|
||||||
|
|
Loading…
Reference in a new issue