From 20ac38f7c7a3e46d0760809bd94e7c3882434e77 Mon Sep 17 00:00:00 2001 From: WonYoung Choi Date: Fri, 18 Dec 2015 15:54:43 +0900 Subject: [PATCH] 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 --- packaging/nodejs.spec | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/packaging/nodejs.spec b/packaging/nodejs.spec index 6ec029a..f66c6e7 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/ + -- 2.7.4