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

            A new commit has been pushed.

            Repo   : rpms/pygobject3
            Branch : rawhide
            Commit : 948e42d8b5cdeb00e636f523ab2f1c2363bd9b8a
            Author : Milan Crha <mcrha@redhat.com>
            Date   : 2026-07-02T18:46:33+02:00
            Stats  : +1/-3 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/pygobject3/c/948e42d8b5cdeb00e636f523ab2f1c2363bd9b8a?branch=rawhide

            Log:
            Use a gnome-srpm-macros macro

[skip changelog]

---
diff --git a/pygobject3.spec b/pygobject3.spec
index e07ecdd..25a5afb 100644
--- a/pygobject3.spec
+++ b/pygobject3.spec
@@ -3,8 +3,6 @@
 %define pycairo_version                1.16.0
 %define python3_version                3.8
 
-%global major_minor_version %%(echo %%{version} | cut -d "." -f 1-2)
-
 Name:           pygobject3
 Version:        3.56.3
 Release:        %autorelease
@@ -12,7 +10,7 @@ Summary:        Python bindings for GObject Introspection
 
 License:        LGPL-2.1-or-later
 URL:            https://wiki.gnome.org/Projects/PyGObject
-Source0:        https://download.gnome.org/sources/pygobject/%{major_minor_version}/pygobject-%{version}.tar.gz
+Source0:        https://download.gnome.org/sources/pygobject/%{gnome_major_minor_version}/pygobject-%{version}.tar.gz
 # Don't raise GLib.unix_signal_add_full deprecation warnings on import (merged upstream)
 Patch:          https://gitlab.gnome.org/GNOME/pygobject/-/merge_requests/545.patch
 

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

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

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