From efa0785818293be00ea4ec791bef07260c65560b Mon Sep 17 00:00:00 2001 From: chanywa Date: Mon, 21 Aug 2017 14:59:35 +0900 Subject: [Update] Changing model-config features of Maps, Location, Geofence. Change-Id: I131511cc1b50f9753ed5cacb1f3b2849e5c199a1 --- packaging/domain-apis.inc | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/packaging/domain-apis.inc b/packaging/domain-apis.inc index 440ba66..4ddc0cf 100644 --- a/packaging/domain-apis.inc +++ b/packaging/domain-apis.inc @@ -481,6 +481,10 @@ Suggests: lbs-plugin-gps-rpi3 This block supports managing Location Service.
To use Location Service, the appropriate plugin should be selected for the device. %files sub2-domain_API-Location-Location_Manager +%posttrans sub2-domain_API-Location-Location_Manager +sed -i 's#\(\"tizen.org/feature/location\".\+>\).\+\(\)#\1true\2#' %{_sysconfdir}/config/model-config.xml +sed -i 's#\(\"tizen.org/feature/location.gps\".\+>\).\+\(\)#\1true\2#' %{_sysconfdir}/config/model-config.xml +sed -i 's#\(\"tizen.org/feature/location.gps.satellite\".\+>\).\+\(\)#\1true\2#' %{_sysconfdir}/config/model-config.xml %package sub2-domain_API-Location-Geofence_Manager Summary: Geofence-Manager @@ -491,6 +495,8 @@ Requires: %{name}-sub2-domain_API-Location-Location_Manager %description sub2-domain_API-Location-Geofence_Manager This block supports managing Geofence Service. %files sub2-domain_API-Location-Geofence_Manager +%posttrans sub2-domain_API-Location-Geofence_Manager +sed -i 's#\(\"tizen.org/feature/location.geofence\".\+>\).\+\(\)#\1true\2#' %{_sysconfdir}/config/model-config.xml ########## ## Maps ## @@ -518,6 +524,9 @@ At least one of HERE or MAPZEN plugin must be selected. %files sub2-domain_API-Maps-Maps_Service +%posttrans sub2-domain_API-Maps-Maps_Service +sed -i 's#\(\"tizen.org/feature/maps\".\+>\).\+\(\)#\1true\2#' %{_sysconfdir}/config/model-config.xml + %package sub2-domain_API-Maps-Here_Plugin Summary: Here_Plugin -- cgit v1.2.3