revise installing a license file 57/145257/1
authorYoungjae Shin <yj99.shin@samsung.com>
Tue, 22 Aug 2017 01:57:42 +0000 (10:57 +0900)
committerYoungjae Shin <yj99.shin@samsung.com>
Tue, 22 Aug 2017 01:57:42 +0000 (10:57 +0900)
Change-Id: I6bd763eb534b01c29b8005f88fa6358dd1c2bd2f

packaging/audio-hal-hawkp.spec

index cbf73bc3ee7c50c389332840d7db7c94faeb002b..ed88582a602896ef9e7988cdf532f94feab380cc 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-hawkp.manifest
 %defattr(-,root,root,-)
 %{_libdir}/libtizen-audio.so
-%{_datadir}/license/%{name}
+%license LICENSE.Apache-2.0