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-shell-extension-background-logo] rawhide: Switch to gnome-srpm-macros macros
Date: Thu, 02 Jul 2026 09:09:38 GMT	[thread overview]
Message-ID: <178298337809.1.3907023297375903296.rpms-gnome-shell-extension-background-logo-44c2e0ab4a7c@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/gnome-shell-extension-background-logo
            Branch : rawhide
            Commit : 44c2e0ab4a7cc8c1d5586b9354b43c7a29b93a62
            Author : Milan Crha <mcrha@redhat.com>
            Date   : 2026-07-02T11:05:30+02:00
            Stats  : +6/-6 in 2 file(s)
            URL    : https://src.fedoraproject.org/rpms/gnome-shell-extension-background-logo/c/44c2e0ab4a7cc8c1d5586b9354b43c7a29b93a62?branch=rawhide

            Log:
            Switch to gnome-srpm-macros macros

[skip changelog]

---
diff --git a/.gitignore b/.gitignore
index 7442183..600c298 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 /background-logo-extension-*.tar.xz
+/background-logo-extension-*-build

diff --git a/gnome-shell-extension-background-logo.spec b/gnome-shell-extension-background-logo.spec
index 14ed5f5..5344be1 100644
--- a/gnome-shell-extension-background-logo.spec
+++ b/gnome-shell-extension-background-logo.spec
@@ -1,6 +1,3 @@
-%global tarball_version %%(echo %{version} | tr '~' '.')
-%global shell_version %%(cut -d "." -f 1 <<<%{tarball_version})
-
 Name:           gnome-shell-extension-background-logo
 Version:        50.1
 Release:        %autorelease
@@ -8,21 +5,23 @@ Summary:        Background logo extension for GNOME Shell
 
 License:        GPL-2.0-or-later
 URL:            https://forge.fedoraproject.org/workstation/background-logo-extension
-Source0:        https://forge.fedoraproject.org/workstation/background-logo-extension/releases/download/%{tarball_version}/background-logo-extension-%{tarball_version}.tar.xz
+Source0:        https://forge.fedoraproject.org/workstation/background-logo-extension/releases/download/%{gnome_tarball_version}/background-logo-extension-%{gnome_tarball_version}.tar.xz
 BuildArch:      noarch
 
+%gnome_check_version
+
 BuildRequires:  meson
 BuildRequires:  glib2-devel
 BuildRequires:  git
 
-Requires:       gnome-shell(api) = %{shell_version}
+Requires:       gnome-shell(api) = %{gnome_major_version}
 Requires:       system-logos
 
 %description
 Show your pride! Display the Fedora logo (or any other graphic) in the corner of your desktop.
 
 %prep
-%autosetup -n background-logo-extension-%{tarball_version} -S git
+%autosetup -n background-logo-extension-%{gnome_tarball_version} -S git
 
 %build
 %meson

                 reply	other threads:[~2026-07-02  9:09 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=178298337809.1.3907023297375903296.rpms-gnome-shell-extension-background-logo-44c2e0ab4a7c@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