Use license macro in spec 23/122023/1 accepted/tizen/3.0/common/20170331.152213 accepted/tizen/3.0/ivi/20170331.044325 accepted/tizen/3.0/mobile/20170331.044127 accepted/tizen/3.0/tv/20170331.044213 accepted/tizen/3.0/wearable/20170331.044248 submit/tizen_3.0/20170330.091154
authorJeongho Mok <jho.mok@samsung.com>
Wed, 22 Mar 2017 07:23:21 +0000 (16:23 +0900)
committerSeungbae Shin <seungbae.shin@samsung.com>
Thu, 30 Mar 2017 03:28:59 +0000 (20:28 -0700)
[Version] 0.3.107
[Profile] Common
[Issue Type] License

Change-Id: I8efd5be49fb77a00c1f8e725104cd641fee4254c
(cherry picked from commit e2e9b75d1848b5019474adf2e973912fa8c11977)

packaging/capi-media-sound-manager.spec

index 5e16f91..70d9dfe 100755 (executable)
@@ -57,9 +57,6 @@ MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
 %__make %{?jobs:-j%jobs}
 
 %install
-rm -rf %{buildroot}
-mkdir -p %{buildroot}/usr/share/license
-cp LICENSE %{buildroot}/usr/share/license/%{name}
 
 %make_install
 
@@ -72,10 +69,10 @@ cp LICENSE %{buildroot}/usr/share/license/%{name}
 %files
 %manifest %{name}.manifest
 %{_libdir}/libcapi-media-sound-manager.so.*
-%{_datadir}/license/%{name}
 %if "%{TIZEN_PRODUCT_TV}" != "1"
 %{_bindir}/sound_manager_test
 %endif
+%license LICENSE
 
 %files devel
 %manifest %{name}.manifest