revise installing a license file 61/145261/1
authorYoungjae Shin <yj99.shin@samsung.com>
Tue, 22 Aug 2017 02:03:38 +0000 (11:03 +0900)
committerYoungjae Shin <yj99.shin@samsung.com>
Tue, 22 Aug 2017 02:03:38 +0000 (11:03 +0900)
Change-Id: If2120a5b337e2319b867b0de30f161b2a12fad69

packaging/audio-hal-wm5110.spec

index 48ae6cc0f883578de3bf5f2a9d572943fdb9c260..56dc8e5fb671124cf0ae8da020708ac62bb83c60 100644 (file)
@@ -34,8 +34,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
@@ -48,4 +46,4 @@ cp LICENSE.Apache-2.0 %{buildroot}%{_datadir}/license/%{name}
 %manifest audio-hal-wm5110.manifest
 %defattr(-,root,root,-)
 %{_libdir}/libtizen-audio.so
-%{_datadir}/license/%{name}
+%license LICENSE.Apache-2.0