packaging: improvement of dependencies 47/31647/1
authorJosé Bollo <jose.bollo@open.eurogiciel.org>
Mon, 8 Dec 2014 11:06:32 +0000 (12:06 +0100)
committerJosé Bollo <jose.bollo@open.eurogiciel.org>
Mon, 8 Dec 2014 11:06:32 +0000 (12:06 +0100)
Change-Id: I27ff5f634eb6f1f25128efaaef09603ef1e0961d
Signed-off-by: José Bollo <jose.bollo@open.eurogiciel.org>
packaging/bluetooth-frwk.spec

index 7835ebd..4ff60c3 100644 (file)
@@ -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