enable systemd user obex service [release 5.50-2mamba;Wed Feb 20 2019]

This commit is contained in:
Silvan Calarco 2024-01-05 20:51:19 +01:00
parent 4198c5828f
commit fcd507fbca

View File

@ -1,6 +1,6 @@
Name: bluez Name: bluez
Version: 5.50 Version: 5.50
Release: 1mamba Release: 2mamba
Summary: Userspace tools for the Bluetooth wireless library for Linux Summary: Userspace tools for the Bluetooth wireless library for Linux
Group: Applications/Communication Group: Applications/Communication
Vendor: openmamba Vendor: openmamba
@ -97,6 +97,15 @@ done
# #
# disable service by default as it is started by udev now # disable service by default as it is started by udev now
/sbin/chkconfig --del bluetooth 2>&1 &>/dev/null /sbin/chkconfig --del bluetooth 2>&1 &>/dev/null
%systemd_user_post obex
if [ $1 -gt 1 ]; then
# Enable on upgrade
systemctl --no-reload preset --global obex
fi
:
%preun
%systemd_user_preun obex
: :
%post -n libbluetooth -p /sbin/ldconfig %post -n libbluetooth -p /sbin/ldconfig
@ -135,6 +144,9 @@ done
%doc ChangeLog README %doc ChangeLog README
%changelog %changelog
* Wed Feb 20 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 5.50-2mamba
- enable systemd user obex service
* Sat Nov 10 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 5.50-1mamba * Sat Nov 10 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 5.50-1mamba
- update to 5.50 - update to 5.50