public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/gnome-tour] rawhide: Switch to gnome-srpm-macros macros
@ 2026-07-02 10:05 Milan Crha
0 siblings, 0 replies; only message in thread
From: Milan Crha @ 2026-07-02 10:05 UTC (permalink / raw)
To: git-commits
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-07-02 10:05 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:05 [rpms/gnome-tour] 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