Use %license macro in spec file 84/122684/1 accepted/tizen_common accepted/tizen_ivi accepted/tizen_mobile accepted/tizen_tv accepted/tizen_wearable accepted/tizen/common/20170403.190559 accepted/tizen/ivi/20170403.131620 accepted/tizen/mobile/20170403.131501 accepted/tizen/tv/20170403.131521 accepted/tizen/unified/20170403.131646 accepted/tizen/wearable/20170403.131543 submit/tizen/20170403.090528
authorWootak Jung <wootak.jung@samsung.com>
Mon, 3 Apr 2017 07:04:23 +0000 (16:04 +0900)
committerWootak Jung <wootak.jung@samsung.com>
Mon, 3 Apr 2017 07:04:23 +0000 (16:04 +0900)
Change-Id: I7a02fd43fd1bee8b78906bb4be830f9ed804e2cb

CMakeLists.txt
packaging/capi-telephony.spec

index 45ea6b4..63fc370 100644 (file)
@@ -104,7 +104,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-telephony)
 
 ADD_SUBDIRECTORY(test)
 
index ea489b0..1f8320e 100644 (file)
@@ -1,6 +1,6 @@
 Name:       capi-telephony
 Summary:    Telephony Core API
-Version:    0.1.69
+Version:    0.1.70
 Release:    1
 Group:      System/Libraries
 License:    Apache-2.0
@@ -41,7 +41,6 @@ make %{?jobs:-j%jobs}
 %install
 rm -rf %{buildroot}
 %make_install
-mkdir -p %{buildroot}/usr/share/license
 
 %post -p /sbin/ldconfig
 
@@ -50,7 +49,7 @@ mkdir -p %{buildroot}/usr/share/license
 %files
 %manifest capi-telephony.manifest
 %{_libdir}/libcapi-telephony.so.*
-/usr/share/license/capi-telephony
+%license LICENSE
 
 %files devel
 %{_includedir}/telephony/telephony.h