Update to 3.26.0
This commit is contained in:
parent
de5038ee74
commit
d21cc9d043
@ -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 glib2_version 2.38.0
|
||||||
%define gobject_introspection_version 1.46.0
|
%define gobject_introspection_version 1.46.0
|
||||||
|
%define pycairo_version 1.11.1
|
||||||
%define python2_version 2.7
|
%define python2_version 2.7
|
||||||
|
|
||||||
%if 0%{?fedora} > 12
|
%if 0%{?fedora} > 12
|
||||||
%global with_python3 1
|
%global with_python3 1
|
||||||
%define python3_version 3.1
|
%define python3_version 3.3
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%global with_check 0
|
%global with_check 0
|
||||||
|
|
||||||
Name: pygobject3
|
Name: pygobject3
|
||||||
Version: 3.24.1
|
Version: 3.26.0
|
||||||
Release: 5%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: Python bindings for GObject Introspection
|
Summary: Python bindings for GObject Introspection
|
||||||
|
|
||||||
License: LGPLv2+ and MIT
|
License: LGPLv2+ and MIT
|
||||||
URL: https://wiki.gnome.org/Projects/PyGObject
|
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: glib2-devel >= %{glib2_version}
|
||||||
BuildRequires: gobject-introspection-devel >= %{gobject_introspection_version}
|
BuildRequires: gobject-introspection-devel >= %{gobject_introspection_version}
|
||||||
BuildRequires: python2-devel >= %{python2_version}
|
BuildRequires: python2-devel >= %{python2_version}
|
||||||
|
BuildRequires: python2-cairo-devel >= %{pycairo_version}
|
||||||
%if 0%{?with_python3}
|
%if 0%{?with_python3}
|
||||||
BuildRequires: python3-devel >= %{python3_version}
|
BuildRequires: python3-devel >= %{python3_version}
|
||||||
BuildRequires: python3-cairo-devel
|
BuildRequires: python3-cairo-devel >= %{pycairo_version}
|
||||||
%endif # if with_python3
|
%endif # if with_python3
|
||||||
|
|
||||||
BuildRequires: cairo-gobject-devel
|
BuildRequires: cairo-gobject-devel
|
||||||
BuildRequires: pycairo-devel
|
|
||||||
|
|
||||||
# Required by the upstream selftest suite:
|
# Required by the upstream selftest suite:
|
||||||
%if %{with_check}
|
%if %{with_check}
|
||||||
@ -59,7 +60,7 @@ for use in Python programs.
|
|||||||
Summary: Python 2 bindings for GObject Introspection
|
Summary: Python 2 bindings for GObject Introspection
|
||||||
Requires: python2-gobject-base%{?_isa} = %{version}-%{release}
|
Requires: python2-gobject-base%{?_isa} = %{version}-%{release}
|
||||||
# The cairo override module depends on this
|
# The cairo override module depends on this
|
||||||
Requires: pycairo%{?_isa}
|
Requires: python2-cairo%{?_isa} >= %{pycairo_version}
|
||||||
|
|
||||||
Obsoletes: %{name} < 3.17.90-2
|
Obsoletes: %{name} < 3.17.90-2
|
||||||
Provides: %{name} = %{version}-%{release}
|
Provides: %{name} = %{version}-%{release}
|
||||||
@ -88,7 +89,7 @@ library.
|
|||||||
Summary: Python 3 bindings for GObject Introspection
|
Summary: Python 3 bindings for GObject Introspection
|
||||||
Requires: python3-gobject-base%{?_isa} = %{version}-%{release}
|
Requires: python3-gobject-base%{?_isa} = %{version}-%{release}
|
||||||
# The cairo override module depends on this
|
# The cairo override module depends on this
|
||||||
Requires: python3-cairo%{?_isa}
|
Requires: python3-cairo%{?_isa} >= %{pycairo_version}
|
||||||
|
|
||||||
%description -n python3-gobject
|
%description -n python3-gobject
|
||||||
The python3-gobject package provides a convenient wrapper for the 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
|
%dir %{python_sitearch}/gi
|
||||||
%{python_sitearch}/gi/*
|
%{python_sitearch}/gi/*
|
||||||
%exclude %{python_sitearch}/gi/_gi_cairo.so
|
%exclude %{python_sitearch}/gi/_gi_cairo.so
|
||||||
%{python_sitearch}/pygobject-*.egg-info
|
|
||||||
%{python_sitearch}/pygtkcompat/
|
%{python_sitearch}/pygtkcompat/
|
||||||
|
|
||||||
%if 0%{?with_python3}
|
%if 0%{?with_python3}
|
||||||
@ -207,7 +207,6 @@ xvfb-run make DESTDIR=$RPM_BUILD_ROOT check V=1
|
|||||||
%dir %{python3_sitearch}/gi
|
%dir %{python3_sitearch}/gi
|
||||||
%{python3_sitearch}/gi/*
|
%{python3_sitearch}/gi/*
|
||||||
%exclude %{python3_sitearch}/gi/_gi_cairo*.so
|
%exclude %{python3_sitearch}/gi/_gi_cairo*.so
|
||||||
%{python3_sitearch}/pygobject-*.egg-info
|
|
||||||
%{python3_sitearch}/pygtkcompat/
|
%{python3_sitearch}/pygtkcompat/
|
||||||
%endif # with_python3
|
%endif # with_python3
|
||||||
|
|
||||||
@ -218,6 +217,9 @@ xvfb-run make DESTDIR=$RPM_BUILD_ROOT check V=1
|
|||||||
%{_libdir}/pkgconfig/pygobject-3.0.pc
|
%{_libdir}/pkgconfig/pygobject-3.0.pc
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Sep 14 2017 Kalev Lember <klember@redhat.com> - 3.26.0-1
|
||||||
|
- Update to 3.26.0
|
||||||
|
|
||||||
* Thu Sep 14 2017 Kalev Lember <klember@redhat.com> - 3.24.1-5
|
* Thu Sep 14 2017 Kalev Lember <klember@redhat.com> - 3.24.1-5
|
||||||
- Rename python-gobject-base to python2-gobject-base as well
|
- Rename python-gobject-base to python2-gobject-base as well
|
||||||
|
|
||||||
|
2
sources
2
sources
@ -1 +1 @@
|
|||||||
SHA512 (pygobject-3.24.1.tar.xz) = f35968ab12b872c85af6b2410cadedcf9fa7e17352a40f3dc557c86203aa1c38753710aab9ce55e986ee2c98b64e14123c65083655445e993d0b53431db6dc93
|
SHA512 (pygobject-3.26.0.tar.xz) = 2358a2cf6e15427ebfc2d370d9222f91318f455edae172c51ad71e1bc85451fda8b26ede9b7aae0d59b455a487e9b82a5ad90b4ef038f223b1a9b14f7c236d2b
|
||||||
|
Loading…
Reference in New Issue
Block a user