diff --git a/97-bluetooth.rules b/97-bluetooth.rules deleted file mode 100644 index 5079a24..0000000 --- a/97-bluetooth.rules +++ /dev/null @@ -1,4 +0,0 @@ -# Run helper every time a Bluetooth device appears -# On remove actions, bluetoothd should go away by itself -ACTION=="add", SUBSYSTEM=="bluetooth", RUN{fail_event_on_error}+="/usr/bin/bluetoothd" -ACTION=="change", SUBSYSTEM=="bluetooth", RUN+="/usr/bin/bluetoothd" diff --git a/bluez.spec b/bluez.spec index b36c6a7..9f13f3d 100644 --- a/bluez.spec +++ b/bluez.spec @@ -5,7 +5,7 @@ Summary: Official Linux Bluetooth protocol stack Name: bluez Version: 5.49 -Release: 1 +Release: 2 License: GPLv2+ Group: Communications Url: http://www.bluez.org/ @@ -14,7 +14,6 @@ Source1: pand.conf Source2: dund.conf Source3: hidd.conf Source4: rfcomm.conf -Source5: 97-bluetooth.rules Source10: bluez-uinput.modules # Revert this commit, it leads to huge delay on boot in Plasma 5 Patch0: bluez-5.36-systemd-conditional.patch @@ -89,7 +88,6 @@ These are the official Bluetooth communication libraries for Linux. %dir %{_libdir}/bluetooth %dir %{_libdir}/bluetooth/plugins %{_libdir}/bluetooth/plugins/sixaxis.so -%{_udevrulesdir}/97-bluetooth.rules %post %_post_service bluetooth @@ -260,8 +258,6 @@ cp test/simple-agent %{buildroot}%{_bindir}/simple-agent rm %{buildroot}%{_sysconfdir}/udev/rules.d/*.rules install -p -m644 tools/hid2hci.rules -D %{buildroot}/lib/udev/rules.d/97-hid2hci.rules -install -m644 %{SOURCE5} -D %{buildroot}%{_udevrulesdir}/97-bluetooth.rules -sed s,"/usr/bin/bluetoothd","%{_libexecdir}/bluetooth/bluetoothd",g -i %{buildroot}%{_udevrulesdir}/97-bluetooth.rules #install more config files install -m0644 profiles/network/network.conf %{buildroot}%{_sysconfdir}/bluetooth/