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

packaging/audio-hal-wm1831-tw2.spec

index d760fa31779ee7f6b015fc5061985bac2c5914cf..1ca7282da279aa34199a314fea58967f43419f6b 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-wm1831-tw2.manifest
 %defattr(-,root,root,-)
 %{_libdir}/libtizen-audio.so
-%{_datadir}/license/%{name}
+%license LICENSE.Apache-2.0