Use %license to create license file 40/120540/2 accepted/tizen_common accepted/tizen_ivi accepted/tizen_mobile accepted/tizen_tv accepted/tizen_wearable accepted/tizen/common/20170323.154618 accepted/tizen/ivi/20170324.023832 accepted/tizen/mobile/20170324.023714 accepted/tizen/tv/20170324.023748 accepted/tizen/unified/20170324.023858 accepted/tizen/wearable/20170324.023809 submit/tizen/20170323.095633
authorJihoon Kim <jihoon48.kim@samsung.com>
Thu, 23 Mar 2017 07:24:44 +0000 (16:24 +0900)
committerJihoon Kim <jihoon48.kim@samsung.com>
Thu, 23 Mar 2017 07:37:39 +0000 (16:37 +0900)
Change-Id: Id7debe4149c01951fc828e0e60b55065e6213e36
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
CMakeLists.txt
packaging/capi-ui-inputmethod.spec

index b4da6ae..de97864 100644 (file)
@@ -103,7 +103,6 @@ CONFIGURE_FILE(
     @ONLY
 )
 INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/${fw_name}.pc DESTINATION ${LIBDIR}/pkgconfig)
-INSTALL(FILES ${CMAKE_SOURCE_DIR}/LICENSE DESTINATION /usr/share/license RENAME capi-ui-inputmethod)
 
 IF(UNIX)
 
index 5e5fa78..44fb783 100644 (file)
@@ -52,8 +52,6 @@ make %{?jobs:-j%jobs}
 %install
 rm -rf %{buildroot}
 %make_install
-mkdir -p %{buildroot}/usr/share/license
-cp LICENSE %{buildroot}/usr/share/license/%{name}
 
 %post -p /sbin/ldconfig
 
@@ -63,7 +61,7 @@ cp LICENSE %{buildroot}/usr/share/license/%{name}
 %files
 %manifest capi-ui-inputmethod.manifest
 %{_libdir}/libcapi-ui-inputmethod.so*
-/usr/share/license/capi-ui-inputmethod
+%license LICENSE
 
 %files devel
 %{_includedir}/inputmethod*.h