set libexecdir to standard location instead of /%_lib [release 5.56-2mamba;Mon Mar 08 2021]

This commit is contained in:
Silvan Calarco 2024-01-05 20:51:19 +01:00
parent 0307a03220
commit ecea3f585b

View File

@ -1,6 +1,6 @@
Name: bluez Name: bluez
Version: 5.56 Version: 5.56
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
@ -31,8 +31,7 @@ Requires: bluez-firmware
Requires: libbluetooth = %{version}-%{release} Requires: libbluetooth = %{version}-%{release}
Conflicts: bluez4 Conflicts: bluez4
Provides: bluez5 Provides: bluez5
Obsoletes: bluez5 Obsoletes: bluez5 < 5.56
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description %description
Userspace tools for the Bluetooth wireless library for Linux. Userspace tools for the Bluetooth wireless library for Linux.
@ -42,7 +41,7 @@ Group: System/Libraries
Summary: The Bluetooth wireless library for Linux Summary: The Bluetooth wireless library for Linux
Conflicts: libbluetooth4 Conflicts: libbluetooth4
Provides: libbluetooth5 Provides: libbluetooth5
Obsoletes: libbluetooth5 Obsoletes: libbluetooth5 < 5.56
Provides: libbluez Provides: libbluez
%description -n libbluetooth %description -n libbluetooth
@ -54,13 +53,12 @@ Summary: Static libraries and headers for libbluetooth
Requires: libbluetooth = %{version}-%{release} Requires: libbluetooth = %{version}-%{release}
Conflicts: libbluetooth4-devel Conflicts: libbluetooth4-devel
Provides: libbluetooth5-devel Provides: libbluetooth5-devel
Obsoletes: libbluetooth5-devel Obsoletes: libbluetooth5-devel < 5.56
Provides: libbluez-devel Provides: libbluez-devel
%description -n libbluetooth-devel %description -n libbluetooth-devel
The Bluetooth wireless library for Linux. The Bluetooth wireless library for Linux.
This package contains static libraries and header files neeed for development.
This package contains static libraries and header files need for development.
%debug_package %debug_package
@ -73,7 +71,7 @@ This package contains static libraries and header files need for development.
%build %build
%configure \ %configure \
--libexecdir=/%{_lib} \ --libexecdir=%{_libexecdir} \
--enable-tools \ --enable-tools \
--enable-deprecated \ --enable-deprecated \
--enable-cups \ --enable-cups \
@ -103,10 +101,6 @@ done
: :
%post %post
# new install
#
# disable service by default as it is started by udev now
/sbin/chkconfig --del bluetooth 2>&1 &>/dev/null
%systemd_post bluetooth %systemd_post bluetooth
%systemd_user_post obex %systemd_user_post obex
if [ $1 -gt 1 ]; then if [ $1 -gt 1 ]; then
@ -133,8 +127,8 @@ find /etc/rc[0-6].d/ -type l -xtype l -exec rm -f {} \;
%config %{_sysconfdir}/dbus-1/system.d/bluetooth.conf %config %{_sysconfdir}/dbus-1/system.d/bluetooth.conf
%{_bindir}/* %{_bindir}/*
#/lib/udev/hid2hci #/lib/udev/hid2hci
/%{_lib}/bluetooth/bluetoothd %dir %{_libexecdir}/bluetooth
/%{_lib}/bluetooth/obexd %{_libexecdir}/bluetooth/*
%{_unitdir}/bluetooth.service %{_unitdir}/bluetooth.service
#%{_udevrulesdir}/97-hid2hci.rules #%{_udevrulesdir}/97-hid2hci.rules
%{_userunitdir}/obex.service %{_userunitdir}/obex.service
@ -160,6 +154,9 @@ find /etc/rc[0-6].d/ -type l -xtype l -exec rm -f {} \;
%doc ChangeLog README %doc ChangeLog README
%changelog %changelog
* Mon Mar 08 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 5.56-2mamba
- set libexecdir to standard location instead of /%_lib
* Tue Feb 23 2021 Automatic Build System <autodist@mambasoft.it> 5.56-1mamba * Tue Feb 23 2021 Automatic Build System <autodist@mambasoft.it> 5.56-1mamba
- automatic version update by autodist - automatic version update by autodist