Hello community, here is the log from the commit of package bluez for openSUSE:Factory checked in at 2017-06-16 10:47:47 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/bluez (Old) and /work/SRC/openSUSE:Factory/.bluez.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "bluez" Fri Jun 16 10:47:47 2017 rev:146 rq:501892 version:5.45 Changes: -------- --- /work/SRC/openSUSE:Factory/bluez/bluez.changes 2017-06-02 10:31:34.366822067 +0200 +++ /work/SRC/openSUSE:Factory/.bluez.new/bluez.changes 2017-06-16 10:47:51.781948723 +0200 @@ -1,0 +2,6 @@ +Thu Jun 8 06:54:26 UTC 2017 - [email protected] + +- add bluez-auto-enable-devices subpackage with main.conf which + auto-enables all devices (boo#1039476) + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ bluez.spec ++++++ --- /var/tmp/diff_new_pack.fOfLnn/_old 2017-06-16 10:47:52.945784899 +0200 +++ /var/tmp/diff_new_pack.fOfLnn/_new 2017-06-16 10:47:52.949784337 +0200 @@ -111,6 +111,17 @@ Contains a few tools for testing various bluetooth functions. The BLUETOOTH trademarks are owned by Bluetooth SIG, Inc., U.S.A. +%package auto-enable-devices +Summary: Configuration that automatically enables all bluetooth devices +License: GPL-2.0+ +Group: Hardware/Mobile +BuildArch: noarch + +%description auto-enable-devices +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). + %prep %setup -q %patch1 -p1 @@ -124,6 +135,9 @@ sed -i "/SystemdService=.*/d" obexd/src/org.bluez.obex.service # END FIXME +# for auto-enable subpackage +echo AutoEnable=true >> src/main.conf + %build # because of patch4... autoreconf -fi @@ -159,6 +173,10 @@ # "make install" fails to install gatttool, used with Bluetooth Low Energy install -m0755 attrib/gatttool %{buildroot}%{_bindir} +# for auto-enable subpackage +find . -name main.conf +install --mode 0644 -D src/main.conf %{buildroot}/%{_sysconfdir}/bluetooth/main.conf + # rpmlint warnings... cd %{buildroot}%{_libdir}/bluez/test chmod 0644 *.py *.xml *.dtd @@ -260,4 +278,9 @@ %dir %{_libdir}/bluez %{_libdir}/bluez/test +%files auto-enable-devices +%defattr(-,root,root) +%dir %{_sysconfdir}/bluetooth +%config(noreplace) %{_sysconfdir}/bluetooth/main.conf + %changelog
