From dab5a44ec104a9aa52e83e2f14fcf9a6d4813912 Mon Sep 17 00:00:00 2001 From: Hyihong Chae Date: Mon, 27 Mar 2017 15:54:32 +0900 Subject: [PATCH] fix license file path Change-Id: I742975c69caec01d532cd31b79b97cfd81a3d0da Signed-off-by: HyiHong Chae (cherry picked from commit 2dd55dd10cb17da11803afe1ea8d781fac32e239) --- packaging/smartcard-service.spec | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/packaging/smartcard-service.spec b/packaging/smartcard-service.spec index 24454d5..5861314 100755 --- a/packaging/smartcard-service.spec +++ b/packaging/smartcard-service.spec @@ -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/ -- 2.7.4