summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWonYoung Choi <wy80.choi@samsung.com>2015-12-18 15:54:43 +0900
committerWonYoung Choi <wy80.choi@samsung.com>2016-04-28 14:40:54 +0900
commit20ac38f7c7a3e46d0760809bd94e7c3882434e77 (patch)
treef79416d92f2dfaa329f09a15c7d80dcafa7d4d48
parentf65a54da488c23f901e6284b2c93b45196221303 (diff)
downloadnodejs-20ac38f7c7a3e46d0760809bd94e7c3882434e77.tar.gz
nodejs-20ac38f7c7a3e46d0760809bd94e7c3882434e77.tar.bz2
nodejs-20ac38f7c7a3e46d0760809bd94e7c3882434e77.zip
Separate npm tools to nodejs-npm package
In general, the npm tool is not needed in runtime. If someone needs to use npm tool, install nodejs-npm package manually. Change-Id: Idcae9f40a56ed3887f280a72cd3bd2f85ea78e39
-rw-r--r--packaging/nodejs.spec14
1 files changed, 12 insertions, 2 deletions
diff --git a/packaging/nodejs.spec b/packaging/nodejs.spec
index 6ec029ac8..f66c6e725 100644
--- a/packaging/nodejs.spec
+++ b/packaging/nodejs.spec
@@ -27,6 +27,14 @@ Requires: %{name}
%description devel
Development libraries for Node.js
+%package npm
+Summary: npm tools for %{name}
+Group: Development/Libraries
+Requires: %{name}
+
+%description npm
+npm tools for Node.js
+
%prep
%setup -q
@@ -64,10 +72,12 @@ rm -fr %{buildroot}/usr/share/man
%manifest %{name}.manifest
%defattr(-,root,root)
%{_bindir}/node
-%{_bindir}/npm
-/usr/lib/node_modules/npm/
%files devel
%{_includedir}/node/
%{_libdir}/pkgconfig/*.pc
+%files npm
+%{_bindir}/npm
+/usr/lib/node_modules/npm/
+