Use license macro in spec 59/120259/4 accepted/tizen_common accepted/tizen_ivi accepted/tizen_mobile accepted/tizen_tv accepted/tizen_wearable accepted/tizen/common/20170329.172612 accepted/tizen/ivi/20170329.222745 accepted/tizen/mobile/20170329.222604 accepted/tizen/tv/20170329.222657 accepted/tizen/unified/20170329.222804 accepted/tizen/wearable/20170329.222721 submit/tizen/20170329.121135
authorJeongho Mok <jho.mok@samsung.com>
Wed, 22 Mar 2017 07:23:21 +0000 (16:23 +0900)
committerJeongho Mok <jho.mok@samsung.com>
Fri, 24 Mar 2017 10:07:49 +0000 (03:07 -0700)
[Version] 0.3.107
[Profile] Common
[Issue Type] License

Change-Id: I8efd5be49fb77a00c1f8e725104cd641fee4254c

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