Update Python 2 dependency declarations to new packaging standards
This commit is contained in:
parent
171cc09517
commit
1077dbb824
@ -4,18 +4,18 @@
|
|||||||
|
|
||||||
Name: python-cffi
|
Name: python-cffi
|
||||||
Version: 1.11.5
|
Version: 1.11.5
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: Foreign Function Interface for Python to call C code
|
Summary: Foreign Function Interface for Python to call C code
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: http://cffi.readthedocs.org/
|
URL: http://cffi.readthedocs.org/
|
||||||
Source0: https://pypi.io/packages/source/c/cffi/cffi-%{version}.tar.gz
|
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-pytest python3-pytest
|
||||||
BuildRequires: python2-devel
|
BuildRequires: python2-devel
|
||||||
BuildRequires: python2-setuptools
|
BuildRequires: python2-setuptools
|
||||||
BuildRequires: Cython
|
BuildRequires: python2-Cython
|
||||||
BuildRequires: python-pycparser
|
BuildRequires: python2-pycparser
|
||||||
BuildRequires: python2-pytest
|
BuildRequires: python2-pytest
|
||||||
%if 0%{?with_python3}
|
%if 0%{?with_python3}
|
||||||
BuildRequires: python3-devel
|
BuildRequires: python3-devel
|
||||||
@ -36,7 +36,7 @@ based on LuaJIT’s FFI.
|
|||||||
|
|
||||||
%package -n python2-cffi
|
%package -n python2-cffi
|
||||||
Summary: Foreign Function Interface for Python 3 to call C code
|
Summary: Foreign Function Interface for Python 3 to call C code
|
||||||
Requires: python-pycparser
|
Requires: python2-pycparser
|
||||||
Obsoletes: python-cffi <= 1.4.2-1
|
Obsoletes: python-cffi <= 1.4.2-1
|
||||||
%{?python_provide:%python_provide python2-cffi}
|
%{?python_provide:%python_provide python2-cffi}
|
||||||
|
|
||||||
@ -60,7 +60,7 @@ based on LuaJIT’s FFI.
|
|||||||
%package doc
|
%package doc
|
||||||
Summary: Documentation for CFFI
|
Summary: Documentation for CFFI
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
Requires: %{name} = %{version}-%{release}
|
Requires: python2-cffi = %{version}-%{release}
|
||||||
|
|
||||||
%description doc
|
%description doc
|
||||||
Documentation for CFFI, the Foreign Function Interface for Python.
|
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
|
%doc doc/build/html
|
||||||
|
|
||||||
%changelog
|
%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
|
* Fri Mar 02 2018 John Dulaney <jdulaney@Fedoraproject.org> - 1.11.2-1
|
||||||
- New release 1.11.5
|
- New release 1.11.5
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user