use %license macro for license file 14/121014/1 accepted/tizen_3.0_common accepted/tizen_3.0_ivi accepted/tizen_3.0_mobile accepted/tizen_3.0_wearable accepted/tizen/3.0/common/20170328.142130 accepted/tizen/3.0/ivi/20170328.052043 accepted/tizen/3.0/mobile/20170328.051932 accepted/tizen/3.0/wearable/20170328.052016 submit/tizen_3.0/20170328.022456
authorKyeonghun Lee <kh9090.lee@samsung.com>
Wed, 22 Mar 2017 04:54:14 +0000 (13:54 +0900)
committerKyeonghun Lee <kh9090.lee@samsung.com>
Mon, 27 Mar 2017 05:13:57 +0000 (22:13 -0700)
Change-Id: I4a669dddf0a76bdf7282be778fa87ff2f39cdb0c
Signed-off-by: Kyeonghun Lee <kh9090.lee@samsung.com>
packaging/capi-messaging-messages.spec

index dba92548e90447a199ebbf8d378ec38f10560750..388dbac27620483dac18ba1ba253655981401516 100644 (file)
@@ -49,9 +49,6 @@ make %{?jobs:-j%jobs}
 %install
 rm -rf %{buildroot}
 
-mkdir -p %{buildroot}/usr/share/license
-cp LICENSE %{buildroot}/usr/share/license/%{name}
-
 cd cmake_build_tmp
 %make_install
 
@@ -62,7 +59,7 @@ cd cmake_build_tmp
 
 %files
 %{_libdir}/libcapi-messaging-messages.so.*
-%{_datadir}/license/%{name}
+%license LICENSE
 #%{_bindir}/*
 
 %files devel