public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/yelp-tools] rawhide: Switch to gnome-srpm-macros macros
@ 2026-07-03 9:27 Milan Crha
0 siblings, 0 replies; only message in thread
From: Milan Crha @ 2026-07-03 9:27 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/yelp-tools
Branch : rawhide
Commit : b7888cb6db748fd04686905762ff7638015da825
Author : Milan Crha <mcrha@redhat.com>
Date : 2026-07-03T11:25:37+02:00
Stats : +6/-52 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/yelp-tools/c/b7888cb6db748fd04686905762ff7638015da825?branch=rawhide
Log:
Switch to gnome-srpm-macros macros
[skip changelog]
---
diff --git a/.gitignore b/.gitignore
index e9f910f..69adf6f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,48 +1,2 @@
-/yelp-tools-3.1.4.tar.xz
-/yelp-tools-3.1.5.tar.xz
-/yelp-tools-3.1.6.tar.xz
-/yelp-tools-3.1.7.tar.xz
-/yelp-tools-3.2.0.tar.xz
-/yelp-tools-3.2.1.tar.xz
-/yelp-tools-3.3.1.tar.xz
-/yelp-tools-3.3.2.tar.xz
-/yelp-tools-3.3.3.tar.xz
-/yelp-tools-3.3.4.tar.xz
-/yelp-tools-3.4.0.tar.xz
-/yelp-tools-3.4.1.tar.xz
-/yelp-tools-3.5.91.tar.xz
-/yelp-tools-3.5.92.tar.xz
-/yelp-tools-3.6.0.tar.xz
-/yelp-tools-3.6.1.tar.xz
-/yelp-tools-3.9.1.tar.xz
-/yelp-tools-3.9.90.tar.xz
-/yelp-tools-3.10.0.tar.xz
-/yelp-tools-3.11.1.tar.xz
-/yelp-tools-3.11.2.tar.xz
-/yelp-tools-3.11.3.tar.xz
-/yelp-tools-3.11.5.tar.xz
-/yelp-tools-3.12.0.tar.xz
-/yelp-tools-3.12.1.tar.xz
-/yelp-tools-3.13.3.tar.xz
-/yelp-tools-3.14.0.tar.xz
-/yelp-tools-3.14.1.tar.xz
-/yelp-tools-3.16.1.tar.xz
-/yelp-tools-3.17.3.tar.xz
-/yelp-tools-3.17.4.tar.xz
-/yelp-tools-3.18.0.tar.xz
-/yelp-tools-3.27.90.tar.xz
-/yelp-tools-3.28.0.tar.xz
-/yelp-tools-3.31.90.tar.xz
-/yelp-tools-3.32.0.tar.xz
-/yelp-tools-3.32.1.tar.xz
-/yelp-tools-3.32.2.tar.xz
-/yelp-tools-3.37.90.tar.xz
-/yelp-tools-3.38.0.tar.xz
-/yelp-tools-40.beta.tar.xz
-/yelp-tools-40.rc.tar.xz
-/yelp-tools-40.0.tar.xz
-/yelp-tools-41.beta.tar.xz
-/yelp-tools-41.0.tar.xz
-/yelp-tools-42.beta.tar.xz
-/yelp-tools-42.0.tar.xz
-/yelp-tools-42.1.tar.xz
+/yelp-tools-*.tar.xz
+/yelp-tools-*-build
diff --git a/yelp-tools.spec b/yelp-tools.spec
index 651655f..57af3ad 100644
--- a/yelp-tools.spec
+++ b/yelp-tools.spec
@@ -1,5 +1,3 @@
-%global tarball_version %%(echo %{version} | tr '~' '.')
-
%bcond url_handler 0%{?rhel}
Name: yelp-tools
@@ -9,9 +7,11 @@ Summary: Create, manage, and publish documentation for Yelp
License: GPL-2.0-or-later
URL: https://wiki.gnome.org/Apps/Yelp/Tools
-Source0: https://download.gnome.org/sources/%{name}/42/%{name}-%{tarball_version}.tar.xz
+Source0: https://download.gnome.org/sources/%{name}/%{gnome_major_version}/%{name}-%{gnome_tarball_version}.tar.xz
BuildArch: noarch
+%gnome_check_version
+
# https://gitlab.gnome.org/GNOME/yelp-tools/-/merge_requests/12
Patch: url-handler.patch
@@ -35,7 +35,7 @@ lifting is done by packages like yelp-xsl and itstool. This package just
wraps things up in a developer-friendly way.
%prep
-%autosetup -p1 -n %{name}-%{tarball_version}
+%autosetup -p1 -n %{name}-%{gnome_tarball_version}
%build
%meson \
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-07-03 9:27 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:27 [rpms/yelp-tools] 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