diff --git a/pygobject3.spec b/pygobject3.spec index 3438d5c..d241f3e 100644 --- a/pygobject3.spec +++ b/pygobject3.spec @@ -6,7 +6,7 @@ Name: pygobject3 Version: 3.36.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Python bindings for GObject Introspection License: LGPLv2+ and MIT @@ -20,11 +20,6 @@ BuildRequires: meson BuildRequires: python3-devel >= %{python3_version} BuildRequires: python3-cairo-devel >= %{pycairo_version} -# Don't use automatic provides in order to prefer python3-gobject-devel over -# python2-gobject-devel. The provides are added to python3-gobject-devel -# manually down below. -%global __provides_exclude_from ^%{_libdir}/pkgconfig/pygobject-3\\.0\\.pc$ - %description The %{name} package provides a convenient wrapper for the GObject library for use in Python programs. @@ -55,9 +50,6 @@ Requires: gobject-introspection-devel%{?_isa} # Renamed in F31 Obsoletes: pygobject3-devel < 3.34.0-2 Provides: pygobject3-devel = %{version}-%{release} -# Manually add pkgconfig provides to the python3-gobject-devel subpackage (but -# not to python2 where they are filtered out) -Provides: pkgconfig(pygobject-3.0) = %{version} %description -n python3-gobject-devel This package contains files required to embed PyGObject @@ -90,6 +82,9 @@ This package contains files required to embed PyGObject %{_libdir}/pkgconfig/pygobject-3.0.pc %changelog +* Sun Mar 08 2020 Kalev Lember - 3.36.0-2 +- Drop pkgconfig provides filtering as we no longer ship the Python 2 package + * Sun Mar 08 2020 Kalev Lember - 3.36.0-1 - Update to 3.36.0