Use %license macro in spec file 97/122697/1 accepted/tizen_common accepted/tizen_ivi accepted/tizen_mobile accepted/tizen_tv accepted/tizen_wearable accepted/tizen/common/20170403.190538 accepted/tizen/ivi/20170403.131608 accepted/tizen/mobile/20170403.131442 accepted/tizen/tv/20170403.131515 accepted/tizen/unified/20170403.131638 accepted/tizen/wearable/20170403.131535 submit/tizen/20170403.090528
authorWootak Jung <wootak.jung@samsung.com>
Mon, 3 Apr 2017 02:07:29 +0000 (11:07 +0900)
committerWootak Jung <wootak.jung@samsung.com>
Mon, 3 Apr 2017 02:07:29 +0000 (11:07 +0900)
- Add manifest file in libtfeature

Change-Id: I869784e4140cc6cacec7879b69867ffd0fe2f7d6

CMakeLists.txt
feature/libtfeature.manifest [new file with mode: 0644]
packaging/tel-plugin-database.spec

index 8bb7d99..5f9bae8 100644 (file)
@@ -57,7 +57,6 @@ 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)
 
 ### add subdirectory ###
 ADD_SUBDIRECTORY(feature)
diff --git a/feature/libtfeature.manifest b/feature/libtfeature.manifest
new file mode 100644 (file)
index 0000000..97e8c31
--- /dev/null
@@ -0,0 +1,5 @@
+<manifest>
+       <request>
+               <domain name="_"/>
+       </request>
+</manifest>
index 05202e0..88c10e1 100644 (file)
@@ -1,6 +1,6 @@
 %define major 0
 %define minor 1
-%define patchlevel 31
+%define patchlevel 32
 
 Name:           tel-plugin-database
 Version:        %{major}.%{minor}.%{patchlevel}
@@ -82,9 +82,9 @@ chsmack -a System %TZ_SYS_DB/.mcc_mnc_oper_list.db-journal
 
 %install
 %make_install
-mkdir -p %{buildroot}%{_datadir}/license
 
 %files
+%manifest %{name}.manifest
 %defattr(644,root,root,-)
 /tmp/mcc_mnc_oper_list.sql
 %if 0%{?sec_product_feature_telephony_cdma}
@@ -93,10 +93,10 @@ 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
 
 %files -n libtfeature
+%manifest feature/libtfeature.manifest
 %defattr(644,root,root,-)
 %{_libdir}/*.so