From: chanywa Date: Mon, 21 Aug 2017 05:59:35 +0000 (+0900) Subject: [Update] Changing model-config features of Maps, Location, Geofence. X-Git-Tag: submit/tizen/20170821.083453~6 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=efa0785818293be00ea4ec791bef07260c65560b;p=tools%2Fbuilding-blocks.git [Update] Changing model-config features of Maps, Location, Geofence. Change-Id: I131511cc1b50f9753ed5cacb1f3b2849e5c199a1 --- 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