use %license macro for license file 80/120180/1 accepted/tizen_common accepted/tizen_ivi accepted/tizen_mobile accepted/tizen_wearable accepted/tizen/common/20170328.140804 accepted/tizen/ivi/20170328.061513 accepted/tizen/mobile/20170328.061434 accepted/tizen/unified/20170328.061533 accepted/tizen/wearable/20170328.061458 submit/tizen/20170328.034237 tizen_4.0.m1_release
authorKyeonghun Lee <kh9090.lee@samsung.com>
Wed, 22 Mar 2017 04:54:14 +0000 (13:54 +0900)
committerKyeonghun Lee <kh9090.lee@samsung.com>
Wed, 22 Mar 2017 04:54:14 +0000 (13:54 +0900)
Change-Id: I4a669dddf0a76bdf7282be778fa87ff2f39cdb0c
Signed-off-by: Kyeonghun Lee <kh9090.lee@samsung.com>
packaging/capi-messaging-messages.spec

index 526ee8ce8f2c3109c9e13bb3f82ca5bf0194fd80..4c4725fc3e0e7a76b690b71a1c8d3748b294c2f2 100644 (file)
@@ -45,9 +45,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
 
@@ -58,7 +55,7 @@ cd cmake_build_tmp
 
 %files
 %{_libdir}/libcapi-messaging-messages.so.*
-%{_datadir}/license/%{name}
+%license LICENSE
 #%{_bindir}/*
 
 %files devel