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

            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

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

only message in thread, other threads:[~2026-07-03  9:24 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:24 [rpms/yelp] 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