Use %license macro to copy license 78/120278/1 accepted/tizen_common accepted/tizen_ivi accepted/tizen_mobile accepted/tizen_wearable accepted/tizen/common/20170404.142439 accepted/tizen/ivi/20170403.130056 accepted/tizen/mobile/20170403.125732 accepted/tizen/unified/20170403.130136 accepted/tizen/wearable/20170403.125935 submit/tizen/20170403.050513
authorGilbok Lee <gilbok.lee@samsung.com>
Wed, 22 Mar 2017 07:56:18 +0000 (16:56 +0900)
committerGilbok Lee <gilbok.lee@samsung.com>
Wed, 22 Mar 2017 07:56:18 +0000 (16:56 +0900)
Change-Id: I2f2c5fd814f9438a7c165fee49cc1179d5febf75

packaging/capi-media-radio.spec

index 36d2082..5b3c807 100644 (file)
@@ -38,10 +38,8 @@ make %{?jobs:-j%jobs}
 %install
 rm -rf %{buildroot}
 %make_install
-mkdir -p %{buildroot}/usr/share/license
-mkdir -p %{buildroot}/usr/bin
-cp LICENSE.APLv2 %{buildroot}/usr/share/license/%{name}
-cp test/radio_test %{buildroot}/usr/bin
+mkdir -p %{buildroot}%{_bindir}
+cp test/radio_test %{buildroot}%{_bindir}
 
 
 %post -p /sbin/ldconfig
@@ -52,7 +50,7 @@ cp test/radio_test %{buildroot}/usr/bin
 %manifest %{name}.manifest
 %defattr(-,root,root,-)
 %{_libdir}/libcapi-media-radio.so.*
-%{_datadir}/license/%{name}
+%license LICENSE.APLv2
 %{_bindir}/*
 
 %files devel