Drop no longer needed 97-bluetooth.rules

This commit is contained in:
Andrey Bondrov 2018-04-02 19:29:48 +10:00
parent cd5866f97f
commit 1625cfc4dd
2 changed files with 1 additions and 9 deletions

View file

@ -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"

View file

@ -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/