Use %license macro in spec file 76/122676/1 accepted/tizen_common accepted/tizen_ivi accepted/tizen_mobile accepted/tizen_wearable accepted/tizen/common/20170403.190545 accepted/tizen/ivi/20170403.131614 accepted/tizen/mobile/20170403.131448 accepted/tizen/unified/20170403.131640 accepted/tizen/wearable/20170403.131537 submit/tizen/20170403.090528 tizen_4.0.m1_release
authorWootak Jung <wootak.jung@samsung.com>
Mon, 3 Apr 2017 06:49:16 +0000 (15:49 +0900)
committerWootak Jung <wootak.jung@samsung.com>
Mon, 3 Apr 2017 06:49:16 +0000 (15:49 +0900)
Change-Id: If02b0bdc3dcd9cf0ceb182ca9b164a6d13b4d8f4

CMakeLists.txt
packaging/libcall-manager.spec

index a3c611106c2b1c59d876aa51cddc3b92a67dd84f..3e2d44954b3aa48a0a674296563e0d6dbda41b0f 100644 (file)
@@ -43,5 +43,4 @@ CONFIGURE_FILE(callmgr_client.pc.in callmgr_client.pc @ONLY)
 INSTALL(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/include/ DESTINATION include/${CLIENT})
 INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/callmgr_client.pc DESTINATION ${LIBDIR}/pkgconfig)
 INSTALL(TARGETS ${CLIENT} DESTINATION ${LIBDIR})
-INSTALL(FILES ${CMAKE_SOURCE_DIR}/LICENSE DESTINATION /usr/share/license RENAME libcall-manager)
 ADD_SUBDIRECTORY(test)
index c641e1f5060f1ae1e9414cfb312da112a1bbbf87..84d65f9d8b57f2107d85e858fed49e280efa57c2 100644 (file)
@@ -1,6 +1,6 @@
 %define major 0
 %define minor 0
-%define patchlevel 13
+%define patchlevel 14
 %define ext_feature 0
 
 Name:           libcall-manager
@@ -53,8 +53,6 @@ make %{?_smp_mflags}
 %install
 %make_install
 
-mkdir -p %{buildroot}/usr/share/license
-cp LICENSE %{buildroot}/usr/share/license/libcall-manager
 # Provides so file of 2.4 to support backward compatibility
 ln -s libcall-manager.so %{buildroot}%{_libdir}/libcallmgr_client.so
 
@@ -65,7 +63,7 @@ ln -s libcall-manager.so %{buildroot}%{_libdir}/libcallmgr_client.so
 %files
 %manifest libcall-manager.manifest
 %defattr(644,root,root,-)
-%{_datadir}/license/libcall-manager
+%license LICENSE
 %attr(755,root,root) %{_bindir}/cm-test
 %{_libdir}/*.so.*
 %{_libdir}/libcallmgr_client.so