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

            A new commit has been pushed.

            Repo   : rpms/gnome-usage
            Branch : rawhide
            Commit : c3329fadd6011b6e0dd0aed8ad86bce9966e829b
            Author : Milan Crha <mcrha@redhat.com>
            Date   : 2026-07-02T12:08:31+02:00
            Stats  : +6/-17 in 2 file(s)
            URL    : https://src.fedoraproject.org/rpms/gnome-usage/c/c3329fadd6011b6e0dd0aed8ad86bce9966e829b?branch=rawhide

            Log:
            Switch to gnome-srpm-macros macros

[skip changelog]

---
diff --git a/.gitignore b/.gitignore
index 902a3de..987ed4c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,13 +1,2 @@
-/gnome-usage-3.27.92.tar.xz
-/gnome-usage-3.28.0.tar.xz
-/gnome-usage-3.30.0.tar.xz
-/gnome-usage-3.32.0.tar.xz
-/gnome-usage-3.33.1.tar.xz
-/gnome-usage-3.33.2.tar.xz
-/gnome-usage-3.37.1.tar.xz
-/gnome-usage-3.38.0.tar.xz
-/gnome-usage-3.38.1.tar.xz
-/gnome-usage-45.0.tar.xz
-/gnome-usage-46.0.tar.xz
-/gnome-usage-48.rc.tar.xz
-/gnome-usage-48.0.tar.xz
+/gnome-usage-*.tar.xz
+/gnome-usage-*-build

diff --git a/gnome-usage.spec b/gnome-usage.spec
index a46d6d4..ccdc487 100644
--- a/gnome-usage.spec
+++ b/gnome-usage.spec
@@ -1,5 +1,3 @@
-%global tarball_version	%%(echo %{version} | tr '~' '.')
-
 %global gtk_version 4.11.3
 %global libadwaita_version 1.5
 
@@ -10,7 +8,9 @@ Summary:	A GNOME app to view information about use of system resources
 
 License:	GPL-3.0-or-later AND CC0-1.0
 URL:		https://wiki.gnome.org/Apps/Usage
-Source0:	https://download.gnome.org/sources/%{name}/48/%{name}-%{tarball_version}.tar.xz
+Source0:	https://download.gnome.org/sources/%{name}/%{gnome_major_version}/%{name}-%{gnome_tarball_version}.tar.xz
+
+%gnome_check_version
 
 BuildRequires:	desktop-file-utils
 BuildRequires:	gettext
@@ -36,7 +36,7 @@ gnome-usage lets you easily visualize the use of system resources such as
 CPU, memory, and storage.
 
 %prep
-%autosetup -p1 -n %{name}-%{tarball_version}
+%autosetup -p1 -n %{name}-%{gnome_tarball_version}
 
 %build
 %meson

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

only message in thread, other threads:[~2026-07-02 10:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-02 10:10 [rpms/gnome-usage] 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