revise installing a license file 04/145404/1 tizen submit/tizen/20170830.015948
authorYoungjae Shin <yj99.shin@samsung.com>
Tue, 22 Aug 2017 07:55:28 +0000 (16:55 +0900)
committerYoungjae Shin <yj99.shin@samsung.com>
Tue, 22 Aug 2017 07:55:28 +0000 (16:55 +0900)
Change-Id: Ic7af885cc8350081456d3ed6b6c259dbd3b82047

packaging/nodejs.spec

index 67f33ae..eab7d1b 100644 (file)
@@ -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/