public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Michel Lind <salimma@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/bluez] f45: Update to 5.88
Date: Fri, 06 Nov 2026 08:51:57 GMT	[thread overview]
Message-ID: <179395511785.1.6195324568230870512.rpms-bluez-7f477feff5ce@fedoraproject.org> (raw)

            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

                 reply	other threads:[~2026-11-06  8:51 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179395511785.1.6195324568230870512.rpms-bluez-7f477feff5ce@fedoraproject.org \
    --to=salimma@fedoraproject.org \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox