From 6bc69edee27926c4a0adedf55bd693b0155f0a3a Mon Sep 17 00:00:00 2001 From: leigh123linux Date: May 27 2015 11:58:07 +0000 Subject: fix bluetoothd path for report tool --- diff --git a/blueman.spec b/blueman.spec index c89e6e0..a82af2a 100644 --- a/blueman.spec +++ b/blueman.spec @@ -2,13 +2,14 @@ Name: blueman Version: 2.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: GTK+ Bluetooth Manager Group: Applications/System License: GPLv2+ URL: https://github.com/blueman-project/blueman Source0: https://github.com/blueman-project/blueman/releases/download/%{version}/blueman-%{version}.tar.xz +Patch0: fix_bluetoothd_path.patch BuildRequires: gtk3-devel >= 3.10 BuildRequires: pygobject3-devel >= 3.10 @@ -32,6 +33,7 @@ Requires: PolicyKit-authentication-agent Requires: desktop-notification-daemon Provides: dbus-bluez-pin-helper +Obsoletes: blueman-nautilus %description Blueman is a tool to use Bluetooth devices. It is designed to provide simple, @@ -47,7 +49,7 @@ such as: %prep %setup -q - +%patch0 -p1 %build NOCONFIGURE=yes ./autogen.sh @@ -126,6 +128,9 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || : %ghost %attr(0644,root,root) %{_sharedstatedir}/blueman/network.state %changelog +* Wed May 27 2015 Leigh Scott - 2.0-2 +- fix bluetoothd path for report tool + * Tue May 26 2015 Leigh Scott - 2.0-1 - update to 2.0 release diff --git a/fix_bluetoothd_path.patch b/fix_bluetoothd_path.patch new file mode 100644 index 0000000..4cc33c4 --- /dev/null +++ b/fix_bluetoothd_path.patch @@ -0,0 +1,11 @@ +--- a/apps/blueman-report 2015-05-24 09:01:34.000000000 +0100 ++++ b/apps/blueman-report 2015-05-27 12:43:44.916949194 +0100 +@@ -77,7 +77,7 @@ print("") + print("=====================================") + print("") + print("blueman: " + VERSION) +-v = subprocess.Popen(['/usr/sbin/bluetoothd', '-v'], stdout=subprocess.PIPE).stdout.read().decode('UTF-8')[:-1] ++v = subprocess.Popen(['/usr/libexec/bluetooth/bluetoothd', '-v'], stdout=subprocess.PIPE).stdout.read().decode('UTF-8')[:-1] + print("BlueZ: " + v) + print("Distribution: ") + print("Desktop: " + os.environ.get('XDG_CURRENT_DESKTOP'))