diff --git a/bluez.spec b/bluez.spec index 6fe2ac1..a79ce4b 100644 --- a/bluez.spec +++ b/bluez.spec @@ -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-*}