revise installing a license file 13/145413/1 tizen
authorYoungjae Shin <yj99.shin@samsung.com>
Tue, 22 Aug 2017 08:14:29 +0000 (17:14 +0900)
committerYoungjae Shin <yj99.shin@samsung.com>
Tue, 22 Aug 2017 08:14:29 +0000 (17:14 +0900)
Change-Id: I985ccc2ab15c37cce2832f1d00806a6cd443354f

packaging/ttrace-extension.spec

index 56b6d076e02f91a2c56c30375d86ef7b1c4adc5d..415ec04ae99468907af186e3a139a4a3d2a2e108 100755 (executable)
@@ -54,8 +54,6 @@ make %{?jobs:-j%jobs}
 %install
 rm -rf %{buildroot}
 %make_install
-mkdir -p %{buildroot}/usr/share/license
-cp LICENSE %{buildroot}/usr/share/license/%{name}
 
 %post -p /sbin/ldconfig
 %postun -p /sbin/ldconfig
@@ -64,7 +62,7 @@ cp LICENSE %{buildroot}/usr/share/license/%{name}
 %manifest ttrace-extension.manifest
 %defattr(-,root,root,-)
 %{_libdir}/libttrace-extension.so.*
-/usr/share/license/%{name}
+%license LICENSE
 
 %files devel
 %defattr(-,root,root,-)