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

            A new commit has been pushed.

            Repo   : rpms/template-glib
            Branch : rawhide
            Commit : 922ebbe8dc8b0e19c6b4308e1ad2bdb0c5f3099d
            Author : Milan Crha <mcrha@redhat.com>
            Date   : 2026-07-03T11:12:09+02:00
            Stats  : +1/-3 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/template-glib/c/922ebbe8dc8b0e19c6b4308e1ad2bdb0c5f3099d?branch=rawhide

            Log:
            Use a gnome-srpm-macros macro

[skip changelog]

---
diff --git a/template-glib.spec b/template-glib.spec
index 856a3a8..f71c7e6 100644
--- a/template-glib.spec
+++ b/template-glib.spec
@@ -1,5 +1,3 @@
-%global major_minor_version %%(echo %%{version} | cut -d "." -f 1-2)
-
 Name:           template-glib
 Version:        3.40.0
 Release:        %autorelease
@@ -7,7 +5,7 @@ Summary:        A templating library for GLib
 
 License:        LGPL-2.1-or-later
 URL:            https://gitlab.gnome.org/GNOME/template-glib/
-Source0:        https://download.gnome.org/sources/%{name}/%{major_minor_version}/%{name}-%{version}.tar.xz
+Source0:        https://download.gnome.org/sources/%{name}/%{gnome_major_minor_version}/%{name}-%{version}.tar.xz
 
 BuildRequires:  bison
 BuildRequires:  flex

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

only message in thread, other threads:[~2026-07-03  9:13 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:13 [rpms/template-glib] rawhide: Use a 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