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

            A new commit has been pushed.

            Repo   : rpms/gtk-doc
            Branch : rawhide
            Commit : 009841f32c2fabbaff955b984130b35e6609f9c1
            Author : Milan Crha <mcrha@redhat.com>
            Date   : 2026-07-02T13:42:56+02:00
            Stats  : +1/-3 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/gtk-doc/c/009841f32c2fabbaff955b984130b35e6609f9c1?branch=rawhide

            Log:
            Switch to gnome-srpm-macros macro

[skip changelog]

---
diff --git a/gtk-doc.spec b/gtk-doc.spec
index 3d87a1a..13b9007 100644
--- a/gtk-doc.spec
+++ b/gtk-doc.spec
@@ -1,7 +1,5 @@
 %global debug_package %{nil}
 
-%global major_minor_version %%(echo %%{version} | cut -d "." -f 1-2)
-
 Name: gtk-doc
 Version: 1.36.1
 Release: %autorelease
@@ -9,7 +7,7 @@ Summary: API documentation generation tool for GTK+ and GNOME
 
 License: GPL-2.0-or-later AND GFDL-1.1-no-invariants-or-later
 URL: https://gitlab.gnome.org/GNOME/gtk-doc/
-Source0: http://download.gnome.org/sources/%{name}/%{major_minor_version}/%{name}-%{version}.tar.xz
+Source0: http://download.gnome.org/sources/%{name}/%{gnome_major_minor_version}/%{name}-%{version}.tar.xz
 
 BuildRequires: dblatex
 BuildRequires: docbook-utils

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

only message in thread, other threads:[~2026-07-02 11:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-02 11:44 [rpms/gtk-doc] rawhide: Switch to gnome-srpm-macros macro Milan Crha

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox