public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/bluez] f45: Update to 5.88
@ 2026-11-06  8:51 Michel Lind
  0 siblings, 0 replies; only message in thread
From: Michel Lind @ 2026-11-06  8:51 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/bluez
            Branch : f45
            Commit : 7f477feff5ce3bb1d8a41313d9614b526cdf150a
            Author : Michel Lind <salimma@fedoraproject.org>
            Date   : 2026-11-06T09:50:51+01:00
            Stats  : +20/-16 in 2 file(s)
            URL    : https://src.fedoraproject.org/rpms/bluez/c/7f477feff5ce3bb1d8a41313d9614b526cdf150a?branch=f45

            Log:
            Update to 5.88

5.88 sorts above all the 5.87-based snapshot builds, so this also
fixes the upgrade path: the 5.87^20260918gitb5ed56d8c builds sort
below the earlier 5.87+1.git789f6e154 build, so they never became the
latest build (see packaging/guidelines#1569).

Upstream removed gatttool in 5.88 (replaced by the gatt menu of
bluetoothctl), so it is dropped from bluez-deprecated.

Future snapshots use the form from the snapshot guidelines,
5.88^<date>.<shortcommit>; the spec comment explains how.

Assisted-by: Claude Code:claude-opus-5-5
Signed-off-by: Michel Lind <salimma@fedoraproject.org>

---
diff --git a/bluez.spec b/bluez.spec
index 7997dd5..5d55d6d 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: 3%{?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
@@ -163,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}
@@ -282,7 +280,6 @@ fi
 %if %{with deprecated}
 %files deprecated
 %{_bindir}/ciptool
-%{_bindir}/gatttool
 %{_bindir}/hciattach
 %{_bindir}/hciconfig
 %{_bindir}/hcitool
@@ -353,6 +350,13 @@ fi
 %{_userunitdir}/obex.service
 
 %changelog
+* Thu Nov 05 2026 Michel Lind <salimma@fedoraproject.org> - 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
+
 * Tue Nov 03 2026 Michel Lind <salimma@fedoraproject.org> - 5.87+1.git789f6e154-3
 - hid2hci: don't fail %%post when udevadm is unavailable
 - mesh: use system unit scriptlets for bluetooth-mesh.service

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:51 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:51 [rpms/bluez] f45: Update to 5.88 Michel Lind

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox