From: José Bollo Date: Mon, 8 Dec 2014 11:06:32 +0000 (+0100) Subject: packaging: improvement of dependencies X-Git-Tag: accepted/tizen/common/20141209.075817~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5f30a13fc4d1a4b62e417e3594342326f384beb6;p=platform%2Fcore%2Fconnectivity%2Fbluetooth-frwk.git packaging: improvement of dependencies Change-Id: I27ff5f634eb6f1f25128efaaef09603ef1e0961d Signed-off-by: José Bollo --- diff --git a/packaging/bluetooth-frwk.spec b/packaging/bluetooth-frwk.spec index 7835ebd..4ff60c3 100644 --- a/packaging/bluetooth-frwk.spec +++ b/packaging/bluetooth-frwk.spec @@ -41,7 +41,7 @@ BuildRequires: pkgconfig(security-server) BuildRequires: cmake BuildRequires: pkgconfig(libtzplatform-config) -Requires(post): vconf +Requires(post): /usr/bin/vconftool Requires(post): /sbin/ldconfig Requires(postun): /sbin/ldconfig @@ -128,11 +128,11 @@ sed -i 's/%TZ_SYS_DEFAULT_USER/app/' %{buildroot}%{_datadir}/dbus-1/system-servi %post /sbin/ldconfig -vconftool set -tf int db/bluetooth/status "0" -g 6520 -vconftool set -tf int file/private/bt-service/flight_mode_deactivated "0" -g 6520 -i -vconftool set -tf string memory/bluetooth/sco_headset_name "" -g 6520 -i -vconftool set -tf int memory/bluetooth/device "0" -g 6520 -i -vconftool set -tf int memory/bluetooth/btsco "0" -g 6520 -i +vconftool set -f -t int db/bluetooth/status "0" -g 6520 +vconftool set -f -t int file/private/bt-service/flight_mode_deactivated "0" -g 6520 -i +vconftool set -f -t string memory/bluetooth/sco_headset_name "" -g 6520 -i +vconftool set -f -t int memory/bluetooth/device "0" -g 6520 -i +vconftool set -f -t int memory/bluetooth/btsco "0" -g 6520 -i # set 'User' smack label to vconf keys in order to allow bt-service to access them. chsmack -a 'User' %TZ_SYS_CONFIG/db/bluetooth/status chsmack -a 'User' %TZ_SYS_CONFIG/file/private/bt-service/flight_mode_deactivated