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

            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

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

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

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