revise installing a license file 58/145258/1
authorYoungjae Shin <yj99.shin@samsung.com>
Tue, 22 Aug 2017 01:59:08 +0000 (10:59 +0900)
committerYoungjae Shin <yj99.shin@samsung.com>
Tue, 22 Aug 2017 01:59:08 +0000 (10:59 +0900)
Change-Id: I9352319f57d2101ef5d1e3251940cf8a9efd1ca7

packaging/audio-hal-max98090.spec

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