public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/geary] rawhide: Switch to gnome-srpm-macros macros
@ 2026-07-01  7:33 Milan Crha
  0 siblings, 0 replies; only message in thread
From: Milan Crha @ 2026-07-01  7:33 UTC (permalink / raw)
  To: git-commits

            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

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-07-01  7:33 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-01  7:33 [rpms/geary] 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