public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/bluez] f44: Update to 5.88, which also fixes the upgrade path from the 5.87 snapshots
@ 2026-11-06 8:59 Bastien Nocera
0 siblings, 0 replies; only message in thread
From: Bastien Nocera @ 2026-11-06 8:59 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/bluez
Branch : f44
Commit : bbbbf35619d8232dc96d521a2df30e6fd2c9b2a6
Author : Bastien Nocera <hadess@hadess.net>
Date : 2026-11-06T09:59:11+01:00
Stats : +34/-19 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/bluez/c/bbbbf35619d8232dc96d521a2df30e6fd2c9b2a6?branch=f44
Log:
Update to 5.88, which also fixes the upgrade path from the 5.87 snapshots
Use the snapshot versioning from the packaging guidelines for future
snapshots
Drop gatttool from bluez-deprecated: upstream removed it, use the gatt
menu of bluetoothctl instead
hid2hci: don't fail %post when udevadm is unavailable
mesh: use system unit scriptlets for bluetooth-mesh.service
---
diff --git a/bluez.spec b/bluez.spec
index 25a5af3..4f1be4b 100644
--- a/bluez.spec
+++ b/bluez.spec
@@ -4,16 +4,21 @@
%bcond_with deprecated
%endif
-# Snapshot generated with:
+# To package an upstream git snapshot instead of a release, uncomment
+# gitdate and shortcommit below (as %%global) and generate the tarball with
+# the commands below. The Version then follows the snapshot guidelines,
+# <base_version>^<number>.<revision> with the snapshot's commit date as
+# the number (keep the base version at the last upstream release; the date
+# must increase with every new snapshot):
+# https://docs.fedoraproject.org/en-US/packaging-guidelines/Versioning/#_snapshots
# git config tar.tar.xz.command "xz -c"
-# export SHA=`git rev-parse --short HEAD` ; export VERSION=5.87 ; git archive --format=tar.xz -o bluez-$VERSION+1.git$SHA.tar.xz --prefix=bluez-$VERSION+1.git$SHA/ HEAD
-# as a post-release snapshot, see:
-# https://fedoraproject.org/wiki/PackagingDrafts/TildeVersioning
-%global gitsha 789f6e154
+# export VERSION=5.88 ; export DATE=`git log -1 --format=%cd --date=format:%Y%m%d HEAD` ; export SHA=`git rev-parse --short HEAD` ; git archive --format=tar.xz -o bluez-${VERSION}^${DATE}.${SHA}.tar.xz --prefix=bluez-${VERSION}^${DATE}.${SHA}/ HEAD
+#global gitdate YYYYMMDD
+#global shortcommit 0123abcde
Name: bluez
-Version: 5.87+1.git%{gitsha}
-Release: 2%{?dist}
+Version: 5.88%{?shortcommit:^%{gitdate}.%{shortcommit}}
+Release: 1%{?dist}
Summary: Bluetooth utilities
License: GPL-2.0-or-later
URL: http://www.bluez.org/
@@ -77,7 +82,6 @@ Bluetooth applications that have bee deprecated by upstream. They have been
replaced by functionality in the core bluetoothctl and will eventually
be dropped by upstream. Utilities include:
- ciptool
- - gatttool
- hciattach
- hciconfig
- hcitool
@@ -103,6 +107,8 @@ use in Bluetooth applications.
%package hid2hci
Summary: Put HID proxying bluetooth HCI's into HCI mode
Requires: bluez%{?_isa} = %{version}-%{release}
+# Order after udev when both are installed, without depending on it
+OrderWithRequires(post): systemd-udev
%description hid2hci
Most allinone PC's and bluetooth keyboard / mouse sets which include a
@@ -161,12 +167,6 @@ autoreconf -vif
%install
%{make_install}
-%if %{with deprecated}
-# "make install" fails to install gatttool, necessary for Bluetooth Low Energy
-# Red Hat Bugzilla bug #1141909, Debian bug #720486
-install -m0755 attrib/gatttool $RPM_BUILD_ROOT%{_bindir}
-%endif
-
# "make install" fails to install avinfo
# Red Hat Bugzilla bug #1699680
install -m0755 tools/avinfo $RPM_BUILD_ROOT%{_bindir}
@@ -221,13 +221,20 @@ install emulator/btvirt ${RPM_BUILD_ROOT}/%{_libexecdir}/bluetooth/
%systemd_postun_with_restart bluetooth.service
%post hid2hci
-/sbin/udevadm trigger --subsystem-match=usb
+# udevadm is not installed in minimal roots (containers, mock)
+if command -v udevadm >/dev/null; then
+ # retrigger is best-effort, e.g. /sys may be read-only in containers
+ udevadm trigger --subsystem-match=usb || :
+fi
%post mesh
-%systemd_user_post bluetooth-mesh.service
+%systemd_post bluetooth-mesh.service
%preun mesh
-%systemd_user_preun bluetooth-mesh.service
+%systemd_preun bluetooth-mesh.service
+
+%postun mesh
+%systemd_postun_with_restart bluetooth-mesh.service
%post obexd
%systemd_user_post obex.service
@@ -273,7 +280,6 @@ install emulator/btvirt ${RPM_BUILD_ROOT}/%{_libexecdir}/bluetooth/
%if %{with deprecated}
%files deprecated
%{_bindir}/ciptool
-%{_bindir}/gatttool
%{_bindir}/hciattach
%{_bindir}/hciconfig
%{_bindir}/hcitool
@@ -344,6 +350,15 @@ install emulator/btvirt ${RPM_BUILD_ROOT}/%{_libexecdir}/bluetooth/
%{_userunitdir}/obex.service
%changelog
+* Fri Nov 06 2026 Bastien Nocera <bnocera@redhat.com> - 5.88.}-1
+- Update to 5.88, which also fixes the upgrade path from the 5.87 snapshots
+- Use the snapshot versioning from the packaging guidelines for future
+ snapshots
+- Drop gatttool from bluez-deprecated: upstream removed it, use the gatt
+ menu of bluetoothctl instead
+- hid2hci: don't fail %%post when udevadm is unavailable
+- mesh: use system unit scriptlets for bluetooth-mesh.service
+
* Wed Sep 16 2026 Peter Robinson <pbrobinson@fedoraproject.org> - 5.87+1.git789f6e154-2
- Rebase to latest upstream. Fixes CVE-2026-19774 (rhbz:2535010)
diff --git a/sources b/sources
index 3b63b72..17dd4db 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (bluez-5.87+1.git789f6e154.tar.xz) = 6588f32aab199fcc4c8d9c59d3d77fdd24530249812fb60fadcaba9d8bd4f0660ea1a7736aa1945cbfcde955d5084cf14a0e0aaf6d4da10781cecc3de0363ef4
+SHA512 (bluez-5.88.tar.xz) = 5ec4442c78b788b1ea319df90752a1031776b937197859108a01fbda80e24a6c7d9c8203315fdf6191cdb762b6410bce837bf9a56b89bfc1e496c319149358e0
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-06 8:59 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-06 8:59 [rpms/bluez] f44: Update to 5.88, which also fixes the upgrade path from the 5.87 snapshots Bastien Nocera
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox