revise installing a license file 56/145256/1
authorYoungjae Shin <yj99.shin@samsung.com>
Tue, 22 Aug 2017 01:55:26 +0000 (10:55 +0900)
committerYoungjae Shin <yj99.shin@samsung.com>
Tue, 22 Aug 2017 01:55:26 +0000 (10:55 +0900)
Change-Id: Ic81e00fcfdcfec7d9277cdacc1aa9b74cdf0c95c

packaging/audio-hal-emul.spec

index 22027383c37c43141b304ad1bfac4c39624f6da9..615f3c9fc01a73a6dd37ef8795f8ae668ee1dc45 100644 (file)
@@ -33,8 +33,6 @@ make %{?jobs:-j%jobs}
 
 %install
 rm -rf %{buildroot}
-mkdir -p %{buildroot}%{_datadir}/license
-cp LICENSE.Apache-2.0 %{buildroot}%{_datadir}/license/%{name}
 %make_install
 
 %post
@@ -47,4 +45,4 @@ cp LICENSE.Apache-2.0 %{buildroot}%{_datadir}/license/%{name}
 %manifest audio-hal-emul.manifest
 %defattr(-,root,root,-)
 %{_libdir}/libtizen-audio.so
-%{_datadir}/license/%{name}
+%license LICENSE.Apache-2.0