Subpackage python2-cffi has been removed
This commit is contained in:
parent
db04ce7be3
commit
d0eb25474a
@ -1,6 +1,6 @@
|
|||||||
Name: python-cffi
|
Name: python-cffi
|
||||||
Version: 1.12.3
|
Version: 1.12.3
|
||||||
Release: 4%{?dist}
|
Release: 5%{?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: https://cffi.readthedocs.org/
|
URL: https://cffi.readthedocs.org/
|
||||||
@ -19,21 +19,6 @@ Foreign Function Interface for Python, providing a convenient and
|
|||||||
reliable way of calling existing C code from Python. The interface is
|
reliable way of calling existing C code from Python. The interface is
|
||||||
based on LuaJIT’s FFI.
|
based on LuaJIT’s FFI.
|
||||||
|
|
||||||
%package -n python2-cffi
|
|
||||||
Summary: Foreign Function Interface for Python 3 to call C code
|
|
||||||
BuildRequires: python2-devel
|
|
||||||
BuildRequires: python2-setuptools
|
|
||||||
BuildRequires: python2-pycparser
|
|
||||||
%if 0%{?fedora} < 32
|
|
||||||
BuildRequires: python2-pytest
|
|
||||||
%endif
|
|
||||||
%{?python_provide:%python_provide python2-cffi}
|
|
||||||
|
|
||||||
%description -n python2-cffi
|
|
||||||
Foreign Function Interface for Python, providing a convenient and
|
|
||||||
reliable way of calling existing C code from Python. The interface is
|
|
||||||
based on LuaJIT’s FFI.
|
|
||||||
|
|
||||||
%package -n python3-cffi
|
%package -n python3-cffi
|
||||||
Summary: Foreign Function Interface for Python 3 to call C code
|
Summary: Foreign Function Interface for Python 3 to call C code
|
||||||
BuildRequires: python3-sphinx
|
BuildRequires: python3-sphinx
|
||||||
@ -59,7 +44,6 @@ Documentation for CFFI, the Foreign Function Interface for Python.
|
|||||||
%autosetup -p1 -n cffi-%{version}
|
%autosetup -p1 -n cffi-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%py2_build
|
|
||||||
%py3_build
|
%py3_build
|
||||||
|
|
||||||
cd doc
|
cd doc
|
||||||
@ -67,22 +51,11 @@ make SPHINXBUILD=sphinx-build-3 html
|
|||||||
rm build/html/.buildinfo
|
rm build/html/.buildinfo
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%py2_install
|
|
||||||
%py3_install
|
%py3_install
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%if 0%{?fedora} < 32
|
|
||||||
PYTHONPATH=%{buildroot}%{python2_sitearch} %{__python2} -m pytest c/ testing/
|
|
||||||
%endif
|
|
||||||
PYTHONPATH=%{buildroot}%{python3_sitearch} %{__python3} -m pytest c/ testing/
|
PYTHONPATH=%{buildroot}%{python3_sitearch} %{__python3} -m pytest c/ testing/
|
||||||
|
|
||||||
%files -n python2-cffi
|
|
||||||
%doc PKG-INFO
|
|
||||||
%license LICENSE
|
|
||||||
%{python2_sitearch}/cffi/
|
|
||||||
%{python2_sitearch}/_cffi_backend.so
|
|
||||||
%{python2_sitearch}/cffi-%{version}-py%{python2_version}.egg-info/
|
|
||||||
|
|
||||||
%files -n python3-cffi
|
%files -n python3-cffi
|
||||||
%doc PKG-INFO
|
%doc PKG-INFO
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
@ -94,6 +67,10 @@ PYTHONPATH=%{buildroot}%{python3_sitearch} %{__python3} -m pytest c/ testing/
|
|||||||
%doc doc/build/html
|
%doc doc/build/html
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sun Oct 13 2019 Miro Hrončok <mhroncok@redhat.com> - 1.12.3-5
|
||||||
|
- Subpackage python2-cffi has been removed
|
||||||
|
See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
|
||||||
|
|
||||||
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 1.12.3-4
|
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 1.12.3-4
|
||||||
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user