From ac0fa39111f4100c1acfb125171c794f4a120f34 Mon Sep 17 00:00:00 2001 From: changtao Date: Sun, 12 Oct 2025 06:30:39 +0800 Subject: [PATCH] modify spec file for %post error when yum update include systemd and bluez --- bluez.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/bluez.spec b/bluez.spec index f5b72d2..04075c8 100644 --- a/bluez.spec +++ b/bluez.spec @@ -1,7 +1,7 @@ Name: bluez Summary: Bluetooth utilities Version: 5.83 -Release: 1 +Release: 2 License: GPL-2.0-or-later URL: https://www.bluez.org/ Source0: https://www.kernel.org/pub/linux/bluetooth/bluez-%{version}.tar.xz @@ -32,6 +32,7 @@ BuildRequires: python3-docutils python3-pygments Requires: dbus >= 1.10 Requires: %{name}-libs = %{version}-%{release} %{?systemd_requires} +Requires(post): systemd-udev Provides: bluez-hid2hci = %{version}-%{release} Provides: bluez-obexd = %{version}-%{release} Provides: bluez-mesh = %{version}-%{release} @@ -183,6 +184,9 @@ install -D -p -m0755 %{S:4} ${RPM_BUILD_ROOT}/%{_libexecdir}/bluetooth/ %{_mandir}/man7/* %changelog +* Wed Oct 15 2025 changtao - 5.83-2 +- modify spec file for %post error when yum update include systemd and bluez + * Tue Jun 03 2025 Funda Wang - 5.83-1 - update to 5.83 -- Gitee