public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/gnome-bluetooth] rawhide: Switch to gnome-srpm-macros macros
@ 2026-07-01  7:55 Milan Crha
  0 siblings, 0 replies; only message in thread
From: Milan Crha @ 2026-07-01  7:55 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/gnome-bluetooth
            Branch : rawhide
            Commit : aae3d8fd66399674be7929801be2333021f5bed6
            Author : Milan Crha <mcrha@redhat.com>
            Date   : 2026-07-01T09:54:09+02:00
            Stats  : +4/-4 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/gnome-bluetooth/c/aae3d8fd66399674be7929801be2333021f5bed6?branch=rawhide

            Log:
            Switch to gnome-srpm-macros macros

[skip changelog]

---
diff --git a/gnome-bluetooth.spec b/gnome-bluetooth.spec
index 5ef1fa8..bff4967 100644
--- a/gnome-bluetooth.spec
+++ b/gnome-bluetooth.spec
@@ -1,8 +1,6 @@
 %global libadwaita_version 1.6~beta
 %global gtk4_version 4.15.2
 
-%global tarball_version %%(echo %{version} | tr '~' '.')
-
 Name:		gnome-bluetooth
 Epoch:		1
 Version:	47.2
@@ -11,7 +9,9 @@ Summary:	Bluetooth graphical utilities
 
 License:	GPL-2.0-or-later
 URL:		https://wiki.gnome.org/Projects/GnomeBluetooth
-Source0:	https://download.gnome.org/sources/gnome-bluetooth/47/gnome-bluetooth-%{tarball_version}.tar.xz
+Source0:	https://download.gnome.org/sources/%{name}/%{gnome_major_version}/%{name}-%{gnome_tarball_version}.tar.xz
+
+%gnome_check_version
 
 %if 0%{?rhel}
 ExcludeArch:	s390 s390x
@@ -64,7 +64,7 @@ This package contains the libraries and header files that are needed
 for writing applications that require a Bluetooth device selection widget.
 
 %prep
-%autosetup -p1 -n %{name}-%{tarball_version}
+%autosetup -p1 -n %{name}-%{gnome_tarball_version}
 
 %build
 %meson -Dgtk_doc=true

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-07-01  7:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-01  7:55 [rpms/gnome-bluetooth] rawhide: Switch to gnome-srpm-macros macros Milan Crha

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