From: Wootak Jung Date: Mon, 3 Apr 2017 07:55:28 +0000 (+0900) Subject: Use %license macro in spec file X-Git-Tag: accepted/tizen/common/20170403.190536 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Ftags%2Faccepted%2Ftizen%2Fcommon%2F20170403.190536;hp=e48e9900cc1ca3e761b7d21a554a6e327d274fa1;p=platform%2Fcore%2Ftelephony%2Ftel-plugin-indicator.git Use %license macro in spec file Change-Id: I6e7445c4a3a7406d2d8e9db61390e69bc7963011 --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 2f8f5be..6f45776 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -55,4 +55,3 @@ SET_TARGET_PROPERTIES(indicator-plugin # install INSTALL(TARGETS ${PLUGIN_NAME} LIBRARY DESTINATION ${PLUGIN_DEST}) INSTALL(TARGETS indicator-plugin LIBRARY DESTINATION ${LIBDIR}/telephony/plugins) -INSTALL(FILES ${CMAKE_SOURCE_DIR}/LICENSE DESTINATION /usr/share/license RENAME tel-plugin-indicator) diff --git a/packaging/tel-plugin-indicator.spec b/packaging/tel-plugin-indicator.spec index 1cec727..46e9f49 100644 --- a/packaging/tel-plugin-indicator.spec +++ b/packaging/tel-plugin-indicator.spec @@ -1,6 +1,6 @@ %define major 0 %define minor 1 -%define patchlevel 72 +%define patchlevel 73 Name: tel-plugin-indicator Version: %{major}.%{minor}.%{patchlevel} @@ -39,11 +39,9 @@ make %{?_smp_mflags} %install %make_install -mkdir -p %{buildroot}/usr/share/license -cp LICENSE %{buildroot}/usr/share/license/%{name} %files %manifest tel-plugin-indicator.manifest %defattr(644,root,root,-) %{_libdir}/telephony/plugins/indicator-plugin* -/usr/share/license/%{name} +%license LICENSE