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-mahjongg] rawhide: Switch to gnome-srpm-macros macros
Date: Wed, 01 Jul 2026 15:37:40 GMT [thread overview]
Message-ID: <178292026054.1.4762698884072078806.rpms-gnome-mahjongg-11b86b1da609@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/gnome-mahjongg
Branch : rawhide
Commit : 11b86b1da6099ef7e7cc6c23f7c547d7034eeccf
Author : Milan Crha <mcrha@redhat.com>
Date : 2026-07-01T17:36:15+02:00
Stats : +6/-69 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/gnome-mahjongg/c/11b86b1da6099ef7e7cc6c23f7c547d7034eeccf?branch=rawhide
Log:
Switch to gnome-srpm-macros macros
[skip changelog]
---
diff --git a/.gitignore b/.gitignore
index 75cb0a2..a2a2b02 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,64 +1,2 @@
-/gnome-mahjongg-3.7.5.tar.xz
-/gnome-mahjongg-3.8.0.tar.xz
-/gnome-mahjongg-3.9.90.tar.xz
-/gnome-mahjongg-3.9.92.tar.xz
-/gnome-mahjongg-3.10.0.tar.xz
-/gnome-mahjongg-3.11.1.tar.xz
-/gnome-mahjongg-3.11.2.tar.xz
-/gnome-mahjongg-3.11.3.tar.xz
-/gnome-mahjongg-3.11.4.tar.xz
-/gnome-mahjongg-3.11.5.tar.xz
-/gnome-mahjongg-3.11.90.tar.xz
-/gnome-mahjongg-3.11.91.tar.xz
-/gnome-mahjongg-3.11.92.tar.xz
-/gnome-mahjongg-3.12.0.tar.xz
-/gnome-mahjongg-3.12.1.tar.xz
-/gnome-mahjongg-3.13.1.tar.xz
-/gnome-mahjongg-3.13.4.tar.xz
-/gnome-mahjongg-3.13.90.tar.xz
-/gnome-mahjongg-3.13.91.tar.xz
-/gnome-mahjongg-3.13.92.tar.xz
-/gnome-mahjongg-3.14.0.tar.xz
-/gnome-mahjongg-3.14.1.tar.xz
-/gnome-mahjongg-3.15.2.tar.xz
-/gnome-mahjongg-3.15.90.tar.xz
-/gnome-mahjongg-3.15.92.tar.xz
-/gnome-mahjongg-3.16.0.tar.xz
-/gnome-mahjongg-3.16.1.tar.xz
-/gnome-mahjongg-3.17.91.tar.xz
-/gnome-mahjongg-3.17.92.tar.xz
-/gnome-mahjongg-3.18.0.tar.xz
-/gnome-mahjongg-3.19.90.tar.xz
-/gnome-mahjongg-3.19.92.tar.xz
-/gnome-mahjongg-3.20.0.tar.xz
-/gnome-mahjongg-3.21.2.tar.xz
-/gnome-mahjongg-3.21.90.tar.xz
-/gnome-mahjongg-3.22.0.tar.xz
-/gnome-mahjongg-3.31.4.tar.xz
-/gnome-mahjongg-3.31.90.tar.xz
-/gnome-mahjongg-3.31.92.tar.xz
-/gnome-mahjongg-3.32.0.tar.xz
-/gnome-mahjongg-3.33.90.tar.xz
-/gnome-mahjongg-3.34.0.tar.xz
-/gnome-mahjongg-3.35.92.tar.xz
-/gnome-mahjongg-3.36.0.tar.xz
-/gnome-mahjongg-3.36.1.tar.xz
-/gnome-mahjongg-3.36.2.tar.xz
-/gnome-mahjongg-3.37.1.tar.xz
-/gnome-mahjongg-3.38.0.tar.xz
-/gnome-mahjongg-3.38.1.tar.xz
-/gnome-mahjongg-3.38.2.tar.xz
-/gnome-mahjongg-3.38.3.tar.xz
-/gnome-mahjongg-3.40.0.tar.xz
-/gnome-mahjongg-3.40.1.tar.xz
-/gnome-mahjongg-47.alpha.tar.xz
-/gnome-mahjongg-47.rc.tar.xz
-/gnome-mahjongg-47.0.tar.xz
-/gnome-mahjongg-47.2.tar.xz
-/gnome-mahjongg-48.rc.tar.xz
-/gnome-mahjongg-48.0.tar.xz
-/gnome-mahjongg-48.1.tar.xz
-/gnome-mahjongg-49.rc.tar.xz
-/gnome-mahjongg-49.0.tar.xz
-/gnome-mahjongg-49.0.1.tar.xz
-/gnome-mahjongg-49.1.1.tar.xz
+/gnome-mahjongg-*.tar.xz
+/gnome-mahjongg-*-build
diff --git a/gnome-mahjongg.spec b/gnome-mahjongg.spec
index 23e5cac..dfd805e 100644
--- a/gnome-mahjongg.spec
+++ b/gnome-mahjongg.spec
@@ -1,6 +1,3 @@
-%global tarball_version %%(echo %{version} | tr '~' '.')
-%define major_version %(c=%{version}; echo $c | cut -d. -f1 | cut -d~ -f1)
-
Name: gnome-mahjongg
Version: 49.1.1
Release: %autorelease
@@ -8,7 +5,9 @@ Summary: GNOME Mahjongg game
License: GPL-2.0-or-later AND CC-BY-SA-3.0 AND CC0-1.0
URL: https://wiki.gnome.org/Apps/Mahjongg
-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: gcc
BuildRequires: desktop-file-utils
@@ -27,7 +26,7 @@ matching identical tiles.
%prep
-%autosetup -p1 -n %{name}-%{tarball_version}
+%autosetup -p1 -n %{name}-%{gnome_tarball_version}
%build
reply other threads:[~2026-07-01 15:37 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=178292026054.1.4762698884072078806.rpms-gnome-mahjongg-11b86b1da609@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