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

            A new commit has been pushed.

            Repo   : rpms/gtkmm4.0
            Branch : rawhide
            Commit : 8f8242217304a47490c75a8fdb86825d929ba6f7
            Author : Milan Crha <mcrha@redhat.com>
            Date   : 2026-07-02T16:50:30+02:00
            Stats  : +1/-3 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/gtkmm4.0/c/8f8242217304a47490c75a8fdb86825d929ba6f7?branch=rawhide

            Log:
            Use a gnome-srpm-macros macro

[skip changelog]

---
diff --git a/gtkmm4.0.spec b/gtkmm4.0.spec
index 70f3ac3..aab41a3 100644
--- a/gtkmm4.0.spec
+++ b/gtkmm4.0.spec
@@ -1,6 +1,4 @@
 %global apiver 4.0
-# first two digits of version
-%define release_version %(echo %{version} | awk -F. '{print $1"."$2}')
 
 %global glibmm_version 2.75.0
 %global gtk4_version 4.19.2
@@ -16,7 +14,7 @@ Summary:        C++ interface for the GTK+ library
 
 License:        LGPL-2.1-or-later
 URL:            https://www.gtkmm.org/
-Source0:        https://download.gnome.org/sources/gtkmm/%{release_version}/gtkmm-%{version}.tar.xz
+Source0:        https://download.gnome.org/sources/gtkmm/%{gnome_major_minor_version}/gtkmm-%{version}.tar.xz
 
 BuildRequires:  doxygen
 BuildRequires:  gcc-c++

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

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

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-02 14:52 [rpms/gtkmm4.0] 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