From 37e0646bfc3384d24f701aae43b2a9dfa6df45c1737cab91615f6ed51881c523 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Wed, 4 Aug 2021 09:48:27 +0000 Subject: [PATCH] Accepting request 910099 from GNOME:Next - Adjust BuildRequires for python_module cairo to python-module pycairo: the module was renamed 2 years ago. - Skip build for python2: not supported anymore since 3.38.0. OBS-URL: https://build.opensuse.org/request/show/910099 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/python-gobject?expand=0&rev=131 --- python-gobject.changes | 8 +++++++- python-gobject.spec | 5 +++-- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/python-gobject.changes b/python-gobject.changes index a62e5c1..b55a03d 100644 --- a/python-gobject.changes +++ b/python-gobject.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Wed Aug 4 09:17:18 UTC 2021 - Dominique Leuenberger + +- Adjust BuildRequires for python_module cairo to python-module + pycairo: the module was renamed 2 years ago. +- Skip build for python2: not supported anymore since 3.38.0. + ------------------------------------------------------------------- Sat Apr 17 08:27:06 UTC 2021 - Dominique Leuenberger @@ -37,7 +44,6 @@ Mon Sep 14 10:49:28 UTC 2020 - dimstar@opensuse.org + gdk overrides: Fix wrapping of scroll events. + Add overrides for Gtk.Button set/get_focus_on_click. - ------------------------------------------------------------------- Wed May 6 17:15:26 UTC 2020 - Bjørn Lie diff --git a/python-gobject.spec b/python-gobject.spec index e4b57cb..d7f77fd 100644 --- a/python-gobject.spec +++ b/python-gobject.spec @@ -17,6 +17,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} +%define skip_python2 1 # Define these before the call of python_subpackages %define introspection_real_package %(rpm -q --qf '%%{NAME}' -f $(readlink %{_libdir}/libgirepository-1.0.so -f)) %define cairo_real_package %(rpm -q --qf '%%{NAME}' --whatprovides cairo) @@ -36,9 +37,9 @@ Group: Development/Languages/Python URL: https://wiki.gnome.org/Projects/PyGObject/ Source0: https://download.gnome.org/sources/pygobject/3.40/%{_name}-%{version}.tar.xz -BuildRequires: %{python_module cairo >= 1.16.0} -BuildRequires: %{python_module cairo-devel} BuildRequires: %{python_module devel} +BuildRequires: %{python_module pycairo >= 1.16.0} +BuildRequires: %{python_module pycairo-devel} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: pkgconfig