public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Milan Crha <mcrha@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/gnome-usage] rawhide: Switch to gnome-srpm-macros macros
Date: Thu, 02 Jul 2026 10:10:00 GMT	[thread overview]
Message-ID: <178298700092.1.4609858462593638187.rpms-gnome-usage-c3329fadd601@fedoraproject.org> (raw)

            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

                 reply	other threads:[~2026-07-02 10:10 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=178298700092.1.4609858462593638187.rpms-gnome-usage-c3329fadd601@fedoraproject.org \
    --to=mcrha@redhat.com \
    --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