Changed the path of license by using '%license' macro 04/120204/1 accepted/tizen/common/20170324.122837 accepted/tizen/mobile/20170324.111041 accepted/tizen/unified/20170324.111407 accepted/tizen/wearable/20170324.111235 submit/tizen/20170324.043751 submit/tizen/20170324.072948
authorSeonah Moon <seonah1.moon@samsung.com>
Wed, 22 Mar 2017 05:48:31 +0000 (14:48 +0900)
committerSeonah Moon <seonah1.moon@samsung.com>
Wed, 22 Mar 2017 05:48:42 +0000 (14:48 +0900)
Change-Id: Ib1b7d281b9d3412791eb8d07b874fddd2b8964c2
Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
packaging/capi-network-http.spec

index 16071f6..0b49860 100644 (file)
@@ -53,10 +53,6 @@ make %{?_smp_mflags}
 %install
 %make_install
 
-mkdir -p %{buildroot}/usr/share/license
-cp LICENSE.APLv2.0 %{buildroot}/usr/share/license/capi-network-http
-cp LICENSE.APLv2.0 %{buildroot}/usr/share/license/capi-network-http-devel
-
 %post -p /sbin/ldconfig
 
 %postun -p /sbin/ldconfig
@@ -65,8 +61,8 @@ cp LICENSE.APLv2.0 %{buildroot}/usr/share/license/capi-network-http-devel
 %manifest capi-network-http.manifest
 %defattr(-,root,root,-)
 %{_libdir}/*.so.*
-/usr/share/license/capi-network-http
 %{_bindir}/http_test
+%license LICENSE.APLv2.0
 %ifarch %{arm}
 /etc/config/connectivity/sysinfo-http.xml
 %else
@@ -82,4 +78,4 @@ cp LICENSE.APLv2.0 %{buildroot}/usr/share/license/capi-network-http-devel
 %{_includedir}/network/*.h
 %{_libdir}/pkgconfig/*.pc
 %{_libdir}/*.so
-/usr/share/license/capi-network-http-devel
+%license LICENSE.APLv2.0