diff --git a/bluez.spec b/bluez.spec index 49a9776a209eeb53bf109a04bc2a3b4382933556..4d05f386c81abed62c1f636aae4bc3224cd8451f 100644 --- a/bluez.spec +++ b/bluez.spec @@ -1,7 +1,8 @@ +%define anolis_release .0.1 Name: bluez Summary: Bluetooth utilities Version: 5.56 -Release: 3%{?dist} +Release: 3%{anolis_release}%{?dist} License: GPLv2+ URL: http://www.bluez.org/ @@ -68,6 +69,9 @@ Requires(post): systemd Requires(preun): systemd Requires(postun): systemd +Requires: glibc +Provides: /usr/bin/bluemoon + %description Utilities for use in Bluetooth applications: - hcitool @@ -88,6 +92,15 @@ Utilities for use in Bluetooth applications: The BLUETOOTH trademarks are owned by Bluetooth SIG, Inc., U.S.A. +%package doc +Summary: Documents for %{name} +BuildArch: noarch +Requires: %{name} = %{version}-%{release} + + +%description doc +Doc pages for %{name}. + %package libs Summary: Libraries for use in Bluetooth applications @@ -213,7 +226,6 @@ make check %files %{!?_licensedir:%global license %%doc} %license COPYING -%doc AUTHORS ChangeLog %config %{_sysconfdir}/dbus-1/system.d/bluetooth.conf %config %{_sysconfdir}/bluetooth/main.conf %{_bindir}/btattach @@ -254,6 +266,8 @@ make check %{_unitdir}/btattach-bcm@.service %{_udevrulesdir}/69-btattach-bcm.rules +%files doc +%doc AUTHORS ChangeLog %files libs %{!?_licensedir:%global license %%doc} @@ -280,6 +294,8 @@ make check %{_userunitdir}/obex.service %changelog +* Fri Jul 15 2022 Liwei Ge - 5.56-3.0.1 +- Add doc sub package * Wed Dec 13 2021 Gopal Tiwari - 5.56-3 + bluez-5.56-3