From a2e42cfccc965b5cf7f670d091021415c07e37ba Mon Sep 17 00:00:00 2001 From: Seonah Moon Date: Wed, 22 Mar 2017 14:59:22 +0900 Subject: [PATCH] Changed the path of license by using '%license' macro Change-Id: I87a13d912701ce12902eb08e15ad777a54346e12 Signed-off-by: Seonah Moon --- packaging/capi-network-tethering.spec | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/packaging/capi-network-tethering.spec b/packaging/capi-network-tethering.spec index 35c22db..5520407 100644 --- a/packaging/capi-network-tethering.spec +++ b/packaging/capi-network-tethering.spec @@ -62,10 +62,6 @@ make %{?_smp_mflags} %install %make_install -mkdir -p %{buildroot}/usr/share/license -cp LICENSE.APLv2.0 %{buildroot}/usr/share/license/capi-network-tethering -cp LICENSE.APLv2.0 %{buildroot}/usr/share/license/capi-network-tethering-devel - %post -p /sbin/ldconfig %postun -p /sbin/ldconfig @@ -74,8 +70,8 @@ cp LICENSE.APLv2.0 %{buildroot}/usr/share/license/capi-network-tethering-devel %manifest capi-network-tethering.manifest %defattr(-,root,root,-) %{_libdir}/*.so.* -/usr/share/license/capi-network-tethering %{_bindir}/tethering_test +%license LICENSE.APLv2.0 %ifarch %{arm} /etc/config/connectivity/sysinfo-tethering.xml %else @@ -91,4 +87,5 @@ cp LICENSE.APLv2.0 %{buildroot}/usr/share/license/capi-network-tethering-devel %{_includedir}/network/*.h %{_libdir}/pkgconfig/*.pc %{_libdir}/*.so -/usr/share/license/capi-network-tethering-devel +%license LICENSE.APLv2.0 + -- 2.34.1