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/geary] rawhide: Switch to gnome-srpm-macros macros
Date: Wed, 01 Jul 2026 07:33:38 GMT	[thread overview]
Message-ID: <178289121838.1.7279948725031594474.rpms-geary-0ddcb5b3f442@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/geary
            Branch : rawhide
            Commit : 0ddcb5b3f44212e4947ce1a01e422cdc54306d0e
            Author : Milan Crha <mcrha@redhat.com>
            Date   : 2026-07-01T09:32:12+02:00
            Stats  : +6/-5 in 2 file(s)
            URL    : https://src.fedoraproject.org/rpms/geary/c/0ddcb5b3f44212e4947ce1a01e422cdc54306d0e?branch=rawhide

            Log:
            Switch to gnome-srpm-macros macros

[skip changelog]

---
diff --git a/.gitignore b/.gitignore
index 3cba530..f83c963 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
 /geary-*.tar.bz2
-/geary-46.0.tar.xz
+/geary-*.tar.xz
+/geary-*-build

diff --git a/geary.spec b/geary.spec
index 19d5041..0725541 100644
--- a/geary.spec
+++ b/geary.spec
@@ -1,5 +1,3 @@
-%global tarball_version %%(echo %{version} | tr '~' '.')
-
 Name:		geary
 Version:	46.0
 Release:	%autorelease
@@ -15,7 +13,9 @@ Summary:	A lightweight email program designed around conversations
 # the whole binary, so we don't need to specify BSD and MIT separately.
 License:	LGPL-2.1-or-later AND CC-BY-3.0 AND CC-BY-SA-3.0 AND LicenseRef-Fedora-Public-Domain
 URL:		https://wiki.gnome.org/Apps/Geary
-Source0:	https://download.gnome.org/sources/geary/46/%{name}-%{tarball_version}.tar.xz
+Source0:	https://download.gnome.org/sources/geary/%{gnome_major_version}/%{name}-%{gnome_tarball_version}.tar.xz
+
+%gnome_check_version
 
 BuildRequires:	meson >= 0.49
 BuildRequires:	vala >= 0.26.0
@@ -76,7 +76,7 @@ all kinds of nifty features in a modular way.
 
 
 %prep
-%autosetup -p1 -n %{name}-%{tarball_version}
+%autosetup -p1 -n %{name}-%{gnome_tarball_version}
 
 
 %build

                 reply	other threads:[~2026-07-01  7:33 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=178289121838.1.7279948725031594474.rpms-geary-0ddcb5b3f442@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