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] rawhide: Switch to gnome-srpm-macros macros
Date: Fri, 03 Jul 2026 09:24:31 GMT	[thread overview]
Message-ID: <178307067195.1.2163452791163154342.rpms-yelp-702cc3f7dade@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/yelp
            Branch : rawhide
            Commit : 702cc3f7dade9208ad22be48efd3e8077af7d241
            Author : Milan Crha <mcrha@redhat.com>
            Date   : 2026-07-03T11:23:04+02:00
            Stats  : +5/-4 in 2 file(s)
            URL    : https://src.fedoraproject.org/rpms/yelp/c/702cc3f7dade9208ad22be48efd3e8077af7d241?branch=rawhide

            Log:
            Switch to gnome-srpm-macros macros

[skip changelog]

---
diff --git a/.gitignore b/.gitignore
index 05237cc..98ed62c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
 /yelp-*.tar.bz2
 /yelp-*.tar.xz
+/yelp-*-build

diff --git a/yelp.spec b/yelp.spec
index 84dd2b7..9620061 100644
--- a/yelp.spec
+++ b/yelp.spec
@@ -1,7 +1,5 @@
 %global libhandy_version 1.5.0
 
-%global tarball_version %%(echo %{version} | tr '~' '.')
-
 Name:          yelp
 Epoch:         2
 Version:       49.1
@@ -9,7 +7,9 @@ Release:       %autorelease
 Summary:       Help browser for the GNOME desktop
 License:       GPL-2.0-or-later AND LGPL-2.0-or-later AND Apache-2.0 AND CC0-1.0
 URL:           https://wiki.gnome.org/Apps/Yelp
-Source:        https://download.gnome.org/sources/%{name}/49/%{name}-%{tarball_version}.tar.xz
+Source:        https://download.gnome.org/sources/%{name}/%{gnome_major_version}/%{name}-%{gnome_tarball_version}.tar.xz
+
+%gnome_check_version
 
 BuildRequires: pkgconfig(gtk4)
 BuildRequires: pkgconfig(libadwaita-1)
@@ -49,7 +49,7 @@ Requires: %{name}-libs%{?_isa} = %{epoch}:%{version}-%{release}
 This package contains header files for the libraries in the yelp-libs package.
 
 %prep
-%autosetup -p1 -n %{name}-%{tarball_version}
+%autosetup -p1 -n %{name}-%{gnome_tarball_version}
 
 %build
 %meson

                 reply	other threads:[~2026-07-03  9:24 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=178307067195.1.2163452791163154342.rpms-yelp-702cc3f7dade@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