From 1077dbb824bee865926b41ef2fefa8710f06aa98 Mon Sep 17 00:00:00 2001 From: Iryna Shcherbina Date: Fri, 9 Mar 2018 05:57:40 +0100 Subject: [PATCH] Update Python 2 dependency declarations to new packaging standards --- python-cffi.spec | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/python-cffi.spec b/python-cffi.spec index fcffde9..88765ed 100644 --- a/python-cffi.spec +++ b/python-cffi.spec @@ -4,18 +4,18 @@ Name: python-cffi Version: 1.11.5 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Foreign Function Interface for Python to call C code License: MIT URL: http://cffi.readthedocs.org/ Source0: https://pypi.io/packages/source/c/cffi/cffi-%{version}.tar.gz -BuildRequires: libffi-devel python-sphinx +BuildRequires: libffi-devel python2-sphinx #BuildRequires: python2-pytest python3-pytest BuildRequires: python2-devel BuildRequires: python2-setuptools -BuildRequires: Cython -BuildRequires: python-pycparser +BuildRequires: python2-Cython +BuildRequires: python2-pycparser BuildRequires: python2-pytest %if 0%{?with_python3} BuildRequires: python3-devel @@ -36,7 +36,7 @@ based on LuaJIT’s FFI. %package -n python2-cffi Summary: Foreign Function Interface for Python 3 to call C code -Requires: python-pycparser +Requires: python2-pycparser Obsoletes: python-cffi <= 1.4.2-1 %{?python_provide:%python_provide python2-cffi} @@ -60,7 +60,7 @@ based on LuaJIT’s FFI. %package doc Summary: Documentation for CFFI BuildArch: noarch -Requires: %{name} = %{version}-%{release} +Requires: python2-cffi = %{version}-%{release} %description doc Documentation for CFFI, the Foreign Function Interface for Python. @@ -109,6 +109,10 @@ PYTHONPATH=build/lib.linux-* py.test c/ testing/ %doc doc/build/html %changelog +* Fri Mar 09 2018 Iryna Shcherbina - 1.11.5-2 +- Update Python 2 dependency declarations to new packaging standards + (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3) + * Fri Mar 02 2018 John Dulaney - 1.11.2-1 - New release 1.11.5