]> git.pld-linux.org Git - packages/nodejs.git/blobdiff - nodejs.spec
- disable npm, packaged separately
[packages/nodejs.git] / nodejs.spec
index f8e22b98e3736f0f69cab80fbea7450031673ea3..c1fab215444e0eea763961668a6b9aa8f7c95f4f 100644 (file)
@@ -1,7 +1,7 @@
 Summary:       Asynchronous JavaScript Engine
 Name:          nodejs
 Version:       0.6.8
-Release:       2
+Release:       3
 License:       BSD and MIT and ASL 2.0 and GPLv3
 Group:         Development/Languages
 URL:           http://www.nodejs.org/
@@ -96,6 +96,7 @@ export PYTHONPATH=tools
        --shared-cares \
        --shared-v8 \
        --shared-zlib \
+       --without-npm \
        --libdir=%{_libdir} \
        --prefix=%{_prefix}
 
@@ -151,11 +152,6 @@ mv html/api/api/* html/api
 rm -rf html/api/api
 cd -
 
-# remove NPM; it's buggy in 0.6.3
-# but really we package npm from separate spec
-rm -rf $RPM_BUILD_ROOT%{_libdir}/node_modules
-rm $RPM_BUILD_ROOT%{_bindir}/npm
-
 %clean
 rm -rf $RPM_BUILD_ROOT
 
This page took 0.025639 seconds and 4 git commands to generate.