From d22393d5dfc4901e91bf844f0db5618a23299ecd Mon Sep 17 00:00:00 2001 From: Wootak Jung Date: Tue, 4 Apr 2017 10:27:58 +0900 Subject: [PATCH] Use %license macro in spec file Change-Id: If8c5be4284bc1aece591f8efb8a57a7018e526df --- CMakeLists.txt | 1 - packaging/tel-plugin-database.spec | 5 ++--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index aed640d..825c7b4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -57,4 +57,3 @@ INSTALL(FILES ${CMAKE_SOURCE_DIR}/res/500.mcc_mnc_oper_list_upgrade_24_30.sh DES IF (OPERATOR_CDMA) INSTALL(FILES ${CMAKE_SOURCE_DIR}/res/cdma_mcc_sid_list.sql DESTINATION /tmp RENAME mcc_sid_list.sql) ENDIF (OPERATOR_CDMA) -INSTALL(FILES ${CMAKE_SOURCE_DIR}/LICENSE DESTINATION /usr/share/license RENAME tel-plugin-database) diff --git a/packaging/tel-plugin-database.spec b/packaging/tel-plugin-database.spec index 395d212..73f8f74 100644 --- a/packaging/tel-plugin-database.spec +++ b/packaging/tel-plugin-database.spec @@ -1,6 +1,6 @@ %define major 0 %define minor 1 -%define patchlevel 30 +%define patchlevel 31 Name: tel-plugin-database Version: %{major}.%{minor}.%{patchlevel} @@ -66,7 +66,6 @@ chsmack -a System %TZ_SYS_DB/.mcc_mnc_oper_list.db-journal %install %make_install -mkdir -p %{buildroot}%{_datadir}/license %files %defattr(644,root,root,-) @@ -77,4 +76,4 @@ mkdir -p %{buildroot}%{_datadir}/license #%doc COPYING %{_libdir}/telephony/plugins/db-plugin* %{_datadir}/upgrade/scripts/500.mcc_mnc_oper_list_upgrade_24_30.sh -%{_datadir}/license/tel-plugin-database +%license LICENSE -- 2.7.4