public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/tali] rawhide: Switch to gnome-srpm-macros macros
@ 2026-07-03 9:08 Milan Crha
0 siblings, 0 replies; only message in thread
From: Milan Crha @ 2026-07-03 9:08 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/tali
Branch : rawhide
Commit : 9b630bd4b8db215ee4c3cfbce3747fc651c25c39
Author : Milan Crha <mcrha@redhat.com>
Date : 2026-07-03T11:06:43+02:00
Stats : +6/-70 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/tali/c/9b630bd4b8db215ee4c3cfbce3747fc651c25c39?branch=rawhide
Log:
Switch to gnome-srpm-macros macros
[skip changelog]
---
diff --git a/.gitignore b/.gitignore
index 82c1ca4..2bf40cf 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,62 +1,2 @@
-/tali-3.8.0.tar.xz
-/tali-3.9.90.tar.xz
-/tali-3.9.92.tar.xz
-/tali-3.10.0.tar.xz
-/tali-3.11.1.tar.xz
-/tali-3.11.2.tar.xz
-/tali-3.11.3.tar.xz
-/tali-3.11.4.tar.xz
-/tali-3.11.5.tar.xz
-/tali-3.11.90.tar.xz
-/tali-3.11.91.tar.xz
-/tali-3.11.92.tar.xz
-/tali-3.12.0.tar.xz
-/tali-3.12.1.tar.xz
-/tali-3.13.1.tar.xz
-/tali-3.13.4.tar.xz
-/tali-3.13.90.tar.xz
-/tali-3.13.91.tar.xz
-/tali-3.13.92.tar.xz
-/tali-3.14.0.tar.xz
-/tali-3.15.2.tar.xz
-/tali-3.15.90.tar.xz
-/tali-3.15.92.tar.xz
-/tali-3.16.0.tar.xz
-/tali-3.16.1.tar.xz
-/tali-3.17.91.tar.xz
-/tali-3.17.92.tar.xz
-/tali-3.18.0.tar.xz
-/tali-3.19.90.tar.xz
-/tali-3.19.92.tar.xz
-/tali-3.20.0.tar.xz
-/tali-3.21.4.tar.xz
-/tali-3.21.90.tar.xz
-/tali-3.22.0.tar.xz
-/tali-3.31.3.tar.xz
-/tali-3.31.90.tar.xz
-/tali-3.32.0.tar.xz
-/tali-3.32.1.tar.xz
-/tali-3.35.3.tar.xz
-/tali-3.35.90.tar.xz
-/tali-3.35.91.tar.xz
-/tali-3.36.0.tar.xz
-/tali-3.36.1.tar.xz
-/tali-3.37.1.tar.xz
-/tali-3.37.3.tar.xz
-/tali-3.37.90.tar.xz
-/tali-3.37.91.tar.xz
-/tali-3.37.92.tar.xz
-/tali-3.38.0.tar.xz
-/tali-3.38.2.tar.xz
-/tali-3.38.3.tar.xz
-/tali-40.rc.tar.xz
-/tali-40.0.tar.xz
-/tali-40.1.tar.xz
-/tali-40.2.tar.xz
-/tali-40.3.tar.xz
-/tali-40.4.tar.xz
-/tali-40.5.tar.xz
-/tali-40.6.tar.xz
-/tali-40.7.tar.xz
-/tali-40.8.tar.xz
-/tali-40.9.tar.xz
+/tali-*.tar.xz
+/tali-*-build
diff --git a/tali.spec b/tali.spec
index d015858..f5742e8 100644
--- a/tali.spec
+++ b/tali.spec
@@ -1,6 +1,3 @@
-%global tarball_version %%(echo %%{version} | tr '~' '.')
-%global major_version %%(echo %%{tarball_version} | cut -d "." -f 1)
-
Name: tali
Version: 40.9
Release: %autorelease
@@ -8,7 +5,9 @@ Summary: GNOME Tali game
License: GPL-2.0-or-later AND LGPL-2.1-or-later AND CC0-1.0
URL: https://wiki.gnome.org/Apps/Tali
-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
+
+%gnome_check_version
BuildRequires: desktop-file-utils
BuildRequires: gcc
@@ -22,10 +21,7 @@ BuildRequires: pkgconfig(libgnome-games-support-1)
Sort of poker with dice and less money. An ancient Roman game.
%prep
-# check for human errors
-if [ `echo "%{version}" | grep -cE "\.alpha|\.beta|\.rc"` = "1" ]; then echo "Error: Use tilde in Version field in front of alpha/beta/rc; checked '%{version}'" 1>&2; exit 1; fi
-
-%autosetup -p1 -n %{name}-%{tarball_version}
+%autosetup -p1 -n %{name}-%{gnome_tarball_version}
%build
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-07-03 9:08 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-03 9:08 [rpms/tali] 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