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/yelp-tools] rawhide: Switch to gnome-srpm-macros macros
Date: Fri, 03 Jul 2026 09:27:03 GMT	[thread overview]
Message-ID: <178307082318.1.387818678322924862.rpms-yelp-tools-b7888cb6db74@fedoraproject.org> (raw)

            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 \

                 reply	other threads:[~2026-07-03  9:27 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=178307082318.1.387818678322924862.rpms-yelp-tools-b7888cb6db74@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