Disable xpyb support

This is only for python2, and was originally added for qtile, which
uses Python3 now. xpyb is unmaintained upstream, and doesn't build
with recent xcb-proto.
This commit is contained in:
Owen W. Taylor 2018-09-27 14:20:11 -04:00
parent 6c3dc1b166
commit 322b6adb4b

View File

@ -1,6 +1,6 @@
Name: pycairo
Version: 1.17.1
Release: 2%{?dist}
Release: 3%{?dist}
Summary: Python bindings for the cairo library
License: MPLv1.1 or LGPLv2
@ -12,7 +12,6 @@ BuildRequires: gcc
BuildRequires: pkgconfig
BuildRequires: python2-devel
BuildRequires: python2-pytest
BuildRequires: python-xpyb-devel
BuildRequires: python3-devel
BuildRequires: python3-pytest
@ -22,7 +21,6 @@ Python bindings for the cairo library.
%package -n python2-cairo
Summary: Python 2 bindings for the cairo library
%{?python_provide:%python_provide python2-cairo}
Requires: python-xpyb
# Renamed in F27
Obsoletes: pycairo < 1.15.2
Provides: pycairo = %{version}-%{release}
@ -64,7 +62,7 @@ libraries so that they interoperate with py3cairo.
%setup -q
%build
%py2_build -- --enable-xpyb
%py2_build
%py3_build
%install
@ -96,6 +94,10 @@ libraries so that they interoperate with py3cairo.
%{_libdir}/pkgconfig/py3cairo.pc
%changelog
* Thu Sep 27 2018 Owen Taylor <otaylor@redhat.com> - 1.17.1-3
- Disable xpyb support - this is only for Python2, and was originally added
for qtile, which uses Python3 now.
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.17.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild