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

            A new commit has been pushed.

            Repo   : rpms/glib2
            Branch : rawhide
            Commit : 0e3d566836c67b07ab434dd771c9dc2377ce1482
            Author : Milan Crha <mcrha@redhat.com>
            Date   : 2026-06-29T08:36:21+02:00
            Stats  : +1/-3 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/glib2/c/0e3d566836c67b07ab434dd771c9dc2377ce1482?branch=rawhide

            Log:
            Switch to gnome-srpm-macros macros

[skip changelog]

---
diff --git a/glib2.spec b/glib2.spec
index c008ff2..ab88d8f 100644
--- a/glib2.spec
+++ b/glib2.spec
@@ -1,5 +1,3 @@
-%global major_minor_version %%(echo %%{version} | cut -d "." -f 1-2)
-
 Name:           glib2
 Version:        2.89.0
 Release:        %autorelease
@@ -7,7 +5,7 @@ Summary:        A library of handy utility functions
 
 License:        LGPL-2.1-or-later
 URL:            https://www.gtk.org
-Source:         https://download.gnome.org/sources/glib/%{major_minor_version}/glib-%{version}.tar.xz
+Source:         https://download.gnome.org/sources/glib/%{gnome_major_minor_version}/glib-%{version}.tar.xz
 
 # Required for RHEL core crypto components policy. Good for Fedora too.
 # https://bugzilla.redhat.com/show_bug.cgi?id=1630260

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

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

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