From 2b84981718c8cda1c7c04baedb8fe6394ffe2689 Mon Sep 17 00:00:00 2001 From: Petr Viktorin Date: Mon, 15 Jul 2019 12:41:39 +0200 Subject: [PATCH] Remove build dependency on python2-Cython The output of Cython doesn't depend on the interpreter that runs it, so files from py3_build can be reused for the Python 2 build. This should help break up one of the build/test dependency cycles involving python2 versions of popular packages: Cython, PyYAML, pip, six, pytest, setuptools. --- PyYAML.spec | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/PyYAML.spec b/PyYAML.spec index e1c28dd..6e2a0d8 100644 --- a/PyYAML.spec +++ b/PyYAML.spec @@ -1,6 +1,6 @@ Name: PyYAML Version: 5.1.1 -Release: 1%{?dist} +Release: 2%{?dist} %global uversion %{version} Summary: YAML parser and emitter for Python @@ -13,7 +13,6 @@ BuildRequires: libyaml-devel BuildRequires: python2-devel BuildRequires: python2-setuptools -BuildRequires: python2-Cython BuildRequires: python3-devel BuildRequires: python3-setuptools @@ -73,9 +72,11 @@ rm -rf ext/_yaml.c %build -%py2_build %py3_build +# py2_build reuses Cython output from py3_build +%py2_build + %install %py2_install @@ -99,6 +100,9 @@ rm -rf ext/_yaml.c %changelog +* Mon Jul 15 2019 Petr Viktorin - 5.1.1-2 +- Remove build dependency on python2-Cython + * Fri Jun 7 2019 John Eckersberg - 5.1.1-1 - New upstream release 5.1.1 (rhbz#1718110)