diff --git a/pygobject3.spec b/pygobject3.spec index d6b6cf994f71ee9ef053201343f2df600b7ba50b..78d4e7a01d3fc8c9e851142d1e14b339d13681d9 100644 --- a/pygobject3.spec +++ b/pygobject3.spec @@ -3,7 +3,7 @@ Name: pygobject3 Version: 3.54.2 -Release: 1 +Release: 2 Summary: Provides bindings for GObject based libraries License: LGPL-2.1-or-later and MIT URL: https://pygobject.gnome.org/ @@ -25,7 +25,7 @@ BuildRequires: pkgconfig(libffi) >= 3.0 BuildRequires: python3-devel >= 3.9 BuildRequires: python3-cairo-devel >= 1.16.0 #for test suite -BuildRequires: python3-pytest gtk3 xorg-x11-server-Xvfb +BuildRequires: python3-pytest gtk3 xorg-x11-server-Xvfb %description PyGObject is a Python package which provides bindings for GObject based libraries such as @@ -47,6 +47,7 @@ for use in Python 3 programs. %package -n python3-gobject-base Summary: base package for python3-gobject package Requires: gobject-introspection%{?_isa} >= 1.64.0 +Requires: glib2%{?_isa} >= %{installed_version_of glib2} Provides: python%{python3_version}dist(pygobject) = %{version} %description -n python3-gobject-base @@ -96,6 +97,9 @@ export TEST_GTK_VERSION=3.0 %{_libdir}/pkgconfig/pygobject-3.0.pc %changelog +* Mon Sep 29 2025 Funda Wang - 3.54.2-2 +- hardcode glib2 version requirement because there are version check when compiling + * Sun Sep 14 2025 Funda Wang - 3.54.2-1 - update to 3.54.2 - tweak file list of dependency scanning, so that it won't pull Gtk