From 322b6adb4b49dd77c503b66f1d9a83ce72c24f03 Mon Sep 17 00:00:00 2001 From: "Owen W. Taylor" Date: Thu, 27 Sep 2018 14:20:11 -0400 Subject: [PATCH] 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. --- pycairo.spec | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/pycairo.spec b/pycairo.spec index 65b6bff..1faff1d 100644 --- a/pycairo.spec +++ b/pycairo.spec @@ -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 - 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 - 1.17.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild