fix license file path 88/121888/1 accepted/tizen/unified/20170412.152246 submit/tizen/20170411.230734 tizen_4.0.m1_release
authorHyihong Chae <hh.chae@samsung.com>
Mon, 27 Mar 2017 06:54:32 +0000 (15:54 +0900)
committerJihoon Jung <jh8801.jung@samsung.com>
Wed, 29 Mar 2017 09:28:17 +0000 (02:28 -0700)
Change-Id: I742975c69caec01d532cd31b79b97cfd81a3d0da
Signed-off-by: HyiHong Chae <hh.chae@samsung.com>
(cherry picked from commit 2dd55dd10cb17da11803afe1ea8d781fac32e239)

packaging/smartcard-service.spec

index 24454d5..5861314 100755 (executable)
@@ -8,7 +8,7 @@
 ################################################################################
 Name:       smartcard-service
 Summary:    Smartcard Service FW
-Version:    0.1.51
+Version:    0.1.52
 Release:    0
 Group:      Network & Connectivity
 Requires:   %{name}-common = %{version}-%{release}
@@ -46,6 +46,7 @@ Smartcard Service FW.
 
 %files
 %manifest %{name}.manifest
+%license LICENSE.APLv2
 %defattr(-,root,root,-)
 %{bindir}/bin/smartcard-daemon
 %if 0%{?test_client:1}
@@ -60,7 +61,6 @@ Smartcard Service FW.
 %{bindir}/author-signature.xml
 %{bindir}/signature1.xml
 /etc/dbus-1/system.d/org.tizen.SmartcardService.conf
-%{_datadir}/license/%{name}
 
 
 %post
@@ -96,9 +96,9 @@ common smartcard service.
 
 %files common
 %manifest %{name}-common.manifest
+%license LICENSE.APLv2
 %defattr(-,root,root,-)
 %{_libdir}/lib%{name}-common.so.*
-%{_datadir}/license/%{name}-common
 
 
 ################################################################################
@@ -151,10 +151,8 @@ cd obj-arm-limux-qnueabi
        %__cp -af %SOURCE1 %{buildroot}/etc/init.d/%{name}
        chmod 755 %{buildroot}/etc/init.d/%{name}
 %endif
-mkdir -p %{buildroot}/usr/share/license
+
 mkdir -p %{buildroot}/etc/dbus-1/system.d/
-cp -af %{_builddir}/%{name}-%{version}/packaging/%{name} %{buildroot}/usr/share/license/
-cp -af %{_builddir}/%{name}-%{version}/packaging/%{name}-common %{buildroot}/usr/share/license/
 cp -af %{_builddir}/%{name}-%{version}/packaging/%{name} %{buildroot}%{bindir}
 cp -af %{_builddir}/%{name}-%{version}/packaging/org.tizen.SmartcardService.conf %{buildroot}/etc/dbus-1/system.d/