py3 shebangs, fix deps

This commit is contained in:
Mikhail Novosyolov 2020-02-22 20:51:04 +03:00
parent e38c3a0871
commit c96c697b59

View file

@ -5,7 +5,7 @@
Summary: Official Linux Bluetooth protocol stack
Name: bluez
Version: 5.48
Release: 1
Release: 2
Epoch: 1
License: GPLv2+
Group: Communications
@ -179,7 +179,7 @@ and mouse.
Summary: Tools for testing of various Bluetooth-functions
Group: System/Servers
Requires: python3-dbus
Requires: python-gobject
Requires: python3-gobject
%description test
Contains a few tools for testing various bluetooth functions. The
@ -268,3 +268,6 @@ install -m0644 profiles/input/input.conf %{buildroot}%{_sysconfdir}/bluetooth/
install -d -m0755 %{buildroot}%{_localstatedir}/lib/bluetooth
ln -s bluetooth.service %{buildroot}%{_unitdir}/dbus-org.bluez.service
# Versionize python shebangs
sed '1 s,^.*$,#!%{__python3},' -i %{buildroot}%{_bindir}/{simple-agent,test-*}