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-tour] rawhide: Switch to gnome-srpm-macros macros
Date: Thu, 02 Jul 2026 10:05:30 GMT	[thread overview]
Message-ID: <178298673063.1.11868525337448939878.rpms-gnome-tour-954beb3555b4@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/gnome-tour
            Branch : rawhide
            Commit : 954beb3555b44ea14ccd8b9b9521b1560824b9bc
            Author : Milan Crha <mcrha@redhat.com>
            Date   : 2026-07-02T12:04:03+02:00
            Stats  : +4/-5 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/gnome-tour/c/954beb3555b44ea14ccd8b9b9521b1560824b9bc?branch=rawhide

            Log:
            Switch to gnome-srpm-macros macros

[skip changelog]

---
diff --git a/gnome-tour.spec b/gnome-tour.spec
index 8a8bd4f..ea6285d 100644
--- a/gnome-tour.spec
+++ b/gnome-tour.spec
@@ -4,9 +4,6 @@
 %global bundled_rust_deps 0
 %endif
 
-%global tarball_version %%(echo %%{version} | tr '~' '.')
-%global major_version %%(echo %%{tarball_version} | cut -d "." -f 1)
-
 Name:           gnome-tour
 Version:        50.0
 Release:        %autorelease
@@ -22,10 +19,12 @@ Summary:        GNOME Tour and Greeter
 # Unlicense OR MIT
 License:        (Apache-2.0 OR MIT) AND CC-BY-SA-3.0 AND GPL-3.0-or-later AND MIT AND (MIT OR Apache-2.0) AND Unicode-DFS-2016 AND (Unlicense OR MIT)
 URL:            https://gitlab.gnome.org/GNOME/gnome-tour
-Source0:        https://download.gnome.org/sources/%{name}/%{major_version}/%{name}-%{tarball_version}.tar.xz
+Source0:        https://download.gnome.org/sources/%{name}/%{gnome_major_version}/%{name}-%{gnome_tarball_version}.tar.xz
 # https://pagure.io/fedora-workstation/issue/175
 Source1:        welcome-fedora.svg
 
+%gnome_check_version
+
 BuildRequires:  meson
 BuildRequires:  pkgconfig(glib-2.0)
 BuildRequires:  pkgconfig(gio-2.0)
@@ -46,7 +45,7 @@ A guided tour and greeter for GNOME.
 
 
 %prep
-%autosetup -p1 -n %{name}-%{tarball_version}
+%autosetup -p1 -n %{name}-%{gnome_tarball_version}
 
 %if 0%{?fedora}
 # Install Fedora branding

                 reply	other threads:[~2026-07-02 10:05 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=178298673063.1.11868525337448939878.rpms-gnome-tour-954beb3555b4@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