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

            A new commit has been pushed.

            Repo   : rpms/gtk4
            Branch : rawhide
            Commit : 83fd43e3d297b620c292b1349557e4f1d1849a41
            Author : Milan Crha <mcrha@redhat.com>
            Date   : 2026-06-29T09:57:09+02:00
            Stats  : +1/-3 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/gtk4/c/83fd43e3d297b620c292b1349557e4f1d1849a41?branch=rawhide

            Log:
            Switch to gnome-srpm-macros macros

[skip changelog]

---
diff --git a/gtk4.spec b/gtk4.spec
index cfdea7f..20cf600 100644
--- a/gtk4.spec
+++ b/gtk4.spec
@@ -25,8 +25,6 @@
 %endif
 %endif
 
-%global major_minor_version %%(echo %%{version} | cut -d "." -f 1-2)
-
 Name:           gtk4
 Version:        4.23.1
 Release:        %autorelease
@@ -73,7 +71,7 @@ Summary:        GTK graphical user interface library
 # The license was last checked for GTK 4.19.3.
 License:        LGPL-2.0-or-later AND LGPL-2.1-or-later AND Apache-2.0 AND CC0-1.0 AND MIT AND MIT-open-group AND HPND-sell-variant AND GPL-2.0-or-later AND GPL-3.0-or-later AND OFL-1.1
 URL:            https://www.gtk.org
-Source0:        https://download.gnome.org/sources/gtk/%{major_minor_version}/gtk-%{version}.tar.xz
+Source0:        https://download.gnome.org/sources/gtk/%{gnome_major_minor_version}/gtk-%{version}.tar.xz
 
 # https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/9995
 Patch:          build.patch

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

only message in thread, other threads:[~2026-06-29  8:04 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-29  8:04 [rpms/gtk4] 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