Use %license macro in spec file 82/122882/1 accepted/tizen_3.0_ivi accepted/tizen/3.0/common/20170405.133725 accepted/tizen/3.0/ivi/20170405.051107 accepted/tizen/3.0/mobile/20170405.050906 accepted/tizen/3.0/tv/20170405.051000 accepted/tizen/3.0/wearable/20170405.051027 submit/tizen_3.0/20170404.014116
authorWootak Jung <wootak.jung@samsung.com>
Tue, 4 Apr 2017 01:27:58 +0000 (10:27 +0900)
committerWootak Jung <wootak.jung@samsung.com>
Tue, 4 Apr 2017 01:27:58 +0000 (10:27 +0900)
Change-Id: If8c5be4284bc1aece591f8efb8a57a7018e526df

CMakeLists.txt
packaging/tel-plugin-database.spec

index aed640d..825c7b4 100644 (file)
@@ -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)
index 395d212..73f8f74 100644 (file)
@@ -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