fix license file path 89/121089/1 accepted/tizen/3.0/common/20170328.142026 accepted/tizen/3.0/ivi/20170328.052029 accepted/tizen/3.0/mobile/20170328.051826 accepted/tizen/3.0/tv/20170328.051911 accepted/tizen/3.0/wearable/20170328.052005 submit/tizen_3.0/20170327.080407
authorHyihong Chae <hh.chae@samsung.com>
Mon, 27 Mar 2017 06:54:32 +0000 (15:54 +0900)
committerHyihong Chae <hh.chae@samsung.com>
Mon, 27 Mar 2017 06:54:32 +0000 (15:54 +0900)
Change-Id: I742975c69caec01d532cd31b79b97cfd81a3d0da
Signed-off-by: HyiHong Chae <hh.chae@samsung.com>
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/