From d21cc9d0432cb866d45e49cfcdc48013e75f1ba0 Mon Sep 17 00:00:00 2001 From: Kalev Lember Date: Thu, 14 Sep 2017 23:19:15 +0200 Subject: [PATCH] Update to 3.26.0 --- pygobject3.spec | 24 +++++++++++++----------- sources | 2 +- 2 files changed, 14 insertions(+), 12 deletions(-) diff --git a/pygobject3.spec b/pygobject3.spec index 836b721..0a804ac 100644 --- a/pygobject3.spec +++ b/pygobject3.spec @@ -1,34 +1,35 @@ -# Last updated for version 3.18.0 +# Last updated for version 3.26.0 %define glib2_version 2.38.0 %define gobject_introspection_version 1.46.0 +%define pycairo_version 1.11.1 %define python2_version 2.7 %if 0%{?fedora} > 12 %global with_python3 1 -%define python3_version 3.1 +%define python3_version 3.3 %endif %global with_check 0 Name: pygobject3 -Version: 3.24.1 -Release: 5%{?dist} +Version: 3.26.0 +Release: 1%{?dist} Summary: Python bindings for GObject Introspection License: LGPLv2+ and MIT URL: https://wiki.gnome.org/Projects/PyGObject -Source0: https://download.gnome.org/sources/pygobject/3.24/pygobject-%{version}.tar.xz +Source0: https://download.gnome.org/sources/pygobject/3.26/pygobject-%{version}.tar.xz BuildRequires: glib2-devel >= %{glib2_version} BuildRequires: gobject-introspection-devel >= %{gobject_introspection_version} BuildRequires: python2-devel >= %{python2_version} +BuildRequires: python2-cairo-devel >= %{pycairo_version} %if 0%{?with_python3} BuildRequires: python3-devel >= %{python3_version} -BuildRequires: python3-cairo-devel +BuildRequires: python3-cairo-devel >= %{pycairo_version} %endif # if with_python3 BuildRequires: cairo-gobject-devel -BuildRequires: pycairo-devel # Required by the upstream selftest suite: %if %{with_check} @@ -59,7 +60,7 @@ for use in Python programs. Summary: Python 2 bindings for GObject Introspection Requires: python2-gobject-base%{?_isa} = %{version}-%{release} # The cairo override module depends on this -Requires: pycairo%{?_isa} +Requires: python2-cairo%{?_isa} >= %{pycairo_version} Obsoletes: %{name} < 3.17.90-2 Provides: %{name} = %{version}-%{release} @@ -88,7 +89,7 @@ library. Summary: Python 3 bindings for GObject Introspection Requires: python3-gobject-base%{?_isa} = %{version}-%{release} # The cairo override module depends on this -Requires: python3-cairo%{?_isa} +Requires: python3-cairo%{?_isa} >= %{pycairo_version} %description -n python3-gobject The python3-gobject package provides a convenient wrapper for the GObject @@ -194,7 +195,6 @@ xvfb-run make DESTDIR=$RPM_BUILD_ROOT check V=1 %dir %{python_sitearch}/gi %{python_sitearch}/gi/* %exclude %{python_sitearch}/gi/_gi_cairo.so -%{python_sitearch}/pygobject-*.egg-info %{python_sitearch}/pygtkcompat/ %if 0%{?with_python3} @@ -207,7 +207,6 @@ xvfb-run make DESTDIR=$RPM_BUILD_ROOT check V=1 %dir %{python3_sitearch}/gi %{python3_sitearch}/gi/* %exclude %{python3_sitearch}/gi/_gi_cairo*.so -%{python3_sitearch}/pygobject-*.egg-info %{python3_sitearch}/pygtkcompat/ %endif # with_python3 @@ -218,6 +217,9 @@ xvfb-run make DESTDIR=$RPM_BUILD_ROOT check V=1 %{_libdir}/pkgconfig/pygobject-3.0.pc %changelog +* Thu Sep 14 2017 Kalev Lember - 3.26.0-1 +- Update to 3.26.0 + * Thu Sep 14 2017 Kalev Lember - 3.24.1-5 - Rename python-gobject-base to python2-gobject-base as well diff --git a/sources b/sources index 93d0c0f..49ae1a9 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (pygobject-3.24.1.tar.xz) = f35968ab12b872c85af6b2410cadedcf9fa7e17352a40f3dc557c86203aa1c38753710aab9ce55e986ee2c98b64e14123c65083655445e993d0b53431db6dc93 +SHA512 (pygobject-3.26.0.tar.xz) = 2358a2cf6e15427ebfc2d370d9222f91318f455edae172c51ad71e1bc85451fda8b26ede9b7aae0d59b455a487e9b82a5ad90b4ef038f223b1a9b14f7c236d2b