Use %license macro in spec file 08/121008/1 accepted/tizen/common/20170330.151603 accepted/tizen/ivi/20170330.224416 accepted/tizen/mobile/20170330.224319 accepted/tizen/tv/20170330.224328 accepted/tizen/unified/20170330.224431 accepted/tizen/wearable/20170330.224405 submit/tizen/20170330.005259
authorWootak Jung <wootak.jung@samsung.com>
Mon, 27 Mar 2017 04:56:50 +0000 (13:56 +0900)
committerWootak Jung <wootak.jung@samsung.com>
Mon, 27 Mar 2017 04:58:43 +0000 (13:58 +0900)
Change-Id: I1892878f65a3c9d208936f42f3efbf8d8467b147

CMakeLists.txt
packaging/libtcore.spec

index a13d8a0..ae8ac26 100644 (file)
@@ -77,6 +77,5 @@ INSTALL(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/include/ DESTINATION include/tcore
 INSTALL(TARGETS tcore
                LIBRARY DESTINATION ${LIBDIR})
 INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/tcore.pc DESTINATION ${LIBDIR}/pkgconfig)
-INSTALL(FILES ${CMAKE_SOURCE_DIR}/LICENSE DESTINATION /usr/share/license RENAME libtcore)
 
 #ADD_SUBDIRECTORY(unit-test)
index aaa6f93..47b02d3 100644 (file)
@@ -1,6 +1,6 @@
 %define major 0
 %define minor 3
-%define patchlevel 14
+%define patchlevel 15
 
 Name:           libtcore
 Version:        %{major}.%{minor}.%{patchlevel}
@@ -46,15 +46,12 @@ make %{?_smp_mflags}
 
 %install
 %make_install
-mkdir -p %{buildroot}%{_datadir}/license
 
 %files
 %manifest libtcore.manifest
 %defattr(644,root,root,-)
-#%doc COPYING
 %{_libdir}/libtcore*
-#%{_bindir}/*
-%{_datadir}/license/libtcore
+%license LICENSE
 
 %files devel
 %defattr(644,root,root,-)