diff --git a/bluez.changes b/bluez.changes index a70db99..99904ee 100644 --- a/bluez.changes +++ b/bluez.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Fri Jul 7 19:17:20 UTC 2017 - seife+obs@b1-systems.com + +- enable sixaxis plugin + +------------------------------------------------------------------- +Sun Jun 25 11:53:02 UTC 2017 - msuchanek@suse.com + +- Add %post/%postun to bluez-auto-enable-devices so the settings + change takes effect (boo#1039476) + ------------------------------------------------------------------- Thu Jun 8 06:54:26 UTC 2017 - seife+obs@b1-systems.com diff --git a/bluez.spec b/bluez.spec index 621678d..f4e06a0 100644 --- a/bluez.spec +++ b/bluez.spec @@ -122,6 +122,12 @@ Contains configuration that automatically enables all bluetooth devices that are connected to the system if no other tool is handling them (e.g. desktop specific applets like blueman or GNOME or KDE applets). +%post auto-enable-devices +{ systemctl status -n0 bluetooth.service > /dev/null && systemctl restart bluetooth.service ; } ||: + +%postun auto-enable-devices +{ systemctl status -n0 bluetooth.service > /dev/null && systemctl restart bluetooth.service ; } ||: + %prep %setup -q %patch1 -p1 @@ -153,6 +159,7 @@ autoreconf -fi --enable-experimental \ --enable-deprecated \ --enable-datafiles \ + --enable-sixaxis \ --with-systemdsystemunitdir=%{_unitdir} \ --with-systemduserunitdir=%{_userunitdir} @@ -224,6 +231,9 @@ make check V=0 %{_bindir}/hciconfig %{_bindir}/hex2hcd %{_bindir}/mpris-proxy +%dir %{_libdir}/bluetooth +%dir %{_libdir}/bluetooth/plugins +%{_libdir}/bluetooth/plugins/sixaxis.so %dir %{_libexecdir}/bluetooth %{_libexecdir}/bluetooth/bluetoothd %{_libexecdir}/bluetooth/obexd