From 22b6ced4aa2a1fb70e7144f26fc46244a71788c1 Mon Sep 17 00:00:00 2001 From: Youngjae Shin Date: Tue, 22 Aug 2017 16:55:28 +0900 Subject: [PATCH] revise installing a license file Change-Id: Ic7af885cc8350081456d3ed6b6c259dbd3b82047 --- packaging/nodejs.spec | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/packaging/nodejs.spec b/packaging/nodejs.spec index 67f33ae..eab7d1b 100644 --- a/packaging/nodejs.spec +++ b/packaging/nodejs.spec @@ -68,16 +68,12 @@ rm -f %{buildroot}/usr/share/systemtap/tapset/node.stp rm -fr %{buildroot}/usr/share/doc rm -fr %{buildroot}/usr/share/man -# license -mkdir -p %{buildroot}%{_datadir}/license -cp LICENSE %{buildroot}%{_datadir}/license/%{name} -cat LICENSE.Apache-2.0 >> %{buildroot}%{_datadir}/license/%{name} %files %manifest %{name}.manifest -%{_datadir}/license/%{name} %defattr(-,root,root) %{_bindir}/node +%license LICENSE LICENSE.Apache-2.0 %files devel %{_includedir}/node/ -- 2.7.4