From d798c68a8a39d6a3ae22e91d50c06275f6d61e5f Mon Sep 17 00:00:00 2001 From: Wootak Jung Date: Wed, 3 Feb 2021 16:17:34 +0900 Subject: [PATCH] Modify service file name to bluez-start.service Change-Id: Id027c0fa8f8655f9b9d5518bce7b5a50060c18d5 Signed-off-by: Wootak Jung --- packaging/bluez.spec | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packaging/bluez.spec b/packaging/bluez.spec index 1f91ec4..410f934 100755 --- a/packaging/bluez.spec +++ b/packaging/bluez.spec @@ -404,6 +404,8 @@ install -D -m 0755 tools/obexctl %{buildroot}%{_bindir}/obexctl install -D -m 0644 obexd/src/obex.service %{buildroot}%{_libpath}/systemd/system/ +install -D -m 0644 src/bluetooth.service %{buildroot}%{_libpath}/systemd/system/bluez-start.service + %post -n bluez-extension-bredr pushd %{_libexecdir}/bluetooth for FILE in bluetoothd.bredr; do mv "$FILE" "${FILE%.bredr}"; done @@ -416,9 +418,6 @@ for FILE in bluetoothd.le; do mv "$FILE" "${FILE%.le}"; done popd /sbin/ldconfig -%post -ln -s %{_unitdir}/bluetooth.service %{_unitdir}/bluez-start.service - %files %manifest %{name}.manifest %defattr(-, root, root) @@ -450,7 +449,8 @@ ln -s %{_unitdir}/bluetooth.service %{_unitdir}/bluez-start.service #%{_sbindir}/hid2hci %dir /usr/lib/udev /usr/lib/udev/* -%{_unitdir}/bluetooth.service +%{_unitdir}/bluez-start.service +%exclude %{_unitdir}/bluetooth.service %files -n bluez-extension-bredr %manifest %{name}.manifest -- 2.7.4