| |
@@ -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 @@
|
| |
|
| |
%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 @@
|
| |
%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 @@
|
| |
%doc doc/build/html
|
| |
|
| |
%changelog
|
| |
+ * Fri Mar 09 2018 Iryna Shcherbina <ishcherb@redhat.com> - 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 <jdulaney@Fedoraproject.org> - 1.11.2-1
|
| |
- New release 1.11.5
|
| |
|
| |
This package uses names with ambiguous
python-
prefix in requirements.According to Fedora Packaging guidelines for Python, packages must use names with either
python2-
orpython3-
prefix in requirements where available.We are aiming to rename
python-*
dependencies topython2-*
, so we can later switch thepython-*
namespace to Python 3.This PR is part of Fedora's Switch to Python 3 effort.
Note that, although this PR was created automatically, we will respond to any comments or issues which you might find with it. We will keep the PR open for review for a week, and if there's no feedback we'll merge it. There is no need to build the package right after merge, this change can wait for the next package rebuild.
The local mock build passed, for Koji scratch build please see simple-koji-ci result.
This PR was opened automatically, for source code see here