From 76f870f08c2cecae799370e1ba5d21bbff5ee81a Mon Sep 17 00:00:00 2001 From: Alessandro Astone Date: Fri, 21 Jul 2023 09:19:24 +0200 Subject: [PATCH] Avoid building against Cython 3 --- python-gbinder.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/python-gbinder.spec b/python-gbinder.spec index b283315..9c1ddfb 100644 --- a/python-gbinder.spec +++ b/python-gbinder.spec @@ -2,7 +2,7 @@ Name: python-gbinder Version: 1.1.1 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Python bindings for libgbinder License: GPL-3.0-only @@ -15,6 +15,9 @@ BuildRequires: python3-Cython BuildRequires: gcc BuildRequires: pkgconfig(libgbinder) >= %{libgbinder_version} +# FIXME: Fails to build with Cython 3 +BuildRequires: python3dist(cython) < 3~~ + %global _description %{expand: Cython extension module for libgbinder. Provides IPC comunication over the /dev/binder protocol for python scripts.} @@ -44,6 +47,9 @@ sed -i "/^USE_CYTHON =/s/False/True/" setup.py %files -n python3-gbinder -f %{pyproject_files} %changelog +* Fri Jul 21 2023 Alessandro Astone - 1.1.1-5 +- Avoid building against Cython 3 + * Tue Jun 13 2023 Python Maint - 1.1.1-4 - Rebuilt for Python 3.12