Compare commits
No commits in common. "c9-beta" and "c8-stream-3.8" have entirely different histories.
c9-beta
...
c8-stream-
2
.gitignore
vendored
2
.gitignore
vendored
@ -1 +1 @@
|
|||||||
SOURCES/cffi-1.14.5.tar.gz
|
SOURCES/cffi-1.13.2.tar.gz
|
||||||
|
@ -1 +1 @@
|
|||||||
21cdeccd7b7b121d35eae1b8e91d78f9ec83da98 SOURCES/cffi-1.14.5.tar.gz
|
ad94c1b64570ec3016a945d4b226d527de81f9b9 SOURCES/cffi-1.13.2.tar.gz
|
||||||
|
@ -1,12 +1,18 @@
|
|||||||
|
%bcond_with docs
|
||||||
|
|
||||||
Name: python-cffi
|
Name: python-cffi
|
||||||
Version: 1.14.5
|
Version: 1.13.2
|
||||||
Release: 5%{?dist}
|
Release: 3%{?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/
|
||||||
Source0: %{pypi_source cffi}
|
Source0: %{pypi_source cffi}
|
||||||
|
|
||||||
BuildRequires: make
|
# Exclude i686 arch. Due to a modularity issue it's being added to the
|
||||||
|
# x86_64 compose of CRB, but we don't want to ship it at all.
|
||||||
|
# See: https://projects.engineering.redhat.com/browse/RCM-72605
|
||||||
|
ExcludeArch: i686
|
||||||
|
|
||||||
BuildRequires: libffi-devel
|
BuildRequires: libffi-devel
|
||||||
BuildRequires: gcc
|
BuildRequires: gcc
|
||||||
|
|
||||||
@ -20,16 +26,19 @@ 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 python3-cffi
|
%package -n python%{python3_pkgversion}-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
|
%if %{with docs}
|
||||||
BuildRequires: python3-pytest
|
BuildRequires: python%{python3_pkgversion}-sphinx
|
||||||
BuildRequires: python3-devel
|
%endif
|
||||||
BuildRequires: python3-setuptools
|
BuildRequires: python%{python3_pkgversion}-pytest
|
||||||
BuildRequires: python3-pycparser
|
BuildRequires: python%{python3_pkgversion}-devel
|
||||||
%{?python_provide:%python_provide python3-cffi}
|
BuildRequires: python%{python3_pkgversion}-setuptools
|
||||||
|
BuildRequires: python%{python3_pkgversion}-pycparser
|
||||||
|
BuildRequires: python%{python3_pkgversion}-rpm-macros
|
||||||
|
%{?python_provide:%python_provide python%{python3_pkgversion}-cffi}
|
||||||
|
|
||||||
%description -n python3-cffi
|
%description -n python%{python3_pkgversion}-cffi
|
||||||
Foreign Function Interface for Python, providing a convenient and
|
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.
|
||||||
@ -47,9 +56,11 @@ Documentation for CFFI, the Foreign Function Interface for Python.
|
|||||||
%build
|
%build
|
||||||
%py3_build
|
%py3_build
|
||||||
|
|
||||||
|
%if %{with docs}
|
||||||
cd doc
|
cd doc
|
||||||
make SPHINXBUILD=sphinx-build-3 html
|
make SPHINXBUILD=sphinx-build-3 html
|
||||||
rm build/html/.buildinfo
|
rm build/html/.buildinfo
|
||||||
|
%endif
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%py3_install
|
%py3_install
|
||||||
@ -57,59 +68,24 @@ rm build/html/.buildinfo
|
|||||||
%check
|
%check
|
||||||
PYTHONPATH=%{buildroot}%{python3_sitearch} %{__python3} -m pytest c/ testing/
|
PYTHONPATH=%{buildroot}%{python3_sitearch} %{__python3} -m pytest c/ testing/
|
||||||
|
|
||||||
%files -n python3-cffi
|
%files -n python%{python3_pkgversion}-cffi
|
||||||
%doc PKG-INFO
|
%doc PKG-INFO
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%{python3_sitearch}/cffi/
|
%{python3_sitearch}/cffi/
|
||||||
%{python3_sitearch}/_cffi_backend.*.so
|
%{python3_sitearch}/_cffi_backend.*.so
|
||||||
%{python3_sitearch}/cffi-%{version}-py%{python3_version}.egg-info/
|
%{python3_sitearch}/cffi-%{version}-py%{python3_version}.egg-info/
|
||||||
|
|
||||||
|
%if %{with docs}
|
||||||
%files doc
|
%files doc
|
||||||
%doc doc/build/html
|
%doc doc/build/html
|
||||||
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Tue Feb 08 2022 Tomas Orsava <torsava@redhat.com> - 1.14.5-5
|
* Fri Dec 13 2019 Tomas Orsava <torsava@redhat.com> - 1.13.2-3
|
||||||
- Add automatically generated Obsoletes tag with the python39- prefix
|
- Exclude unsupported i686 arch
|
||||||
for smoother upgrade from RHEL8
|
|
||||||
- Related: rhbz#1990421
|
|
||||||
|
|
||||||
* Thu Aug 19 2021 DJ Delorie <dj@redhat.com> - 1.14.5-4
|
* Wed Nov 20 2019 Lumír Balhar <lbalhar@redhat.com> - 1.13.2-2
|
||||||
- Rebuilt for libffi 3.4.2 SONAME transition.
|
- Adjusted for Python 3.8 module in RHEL 8
|
||||||
Related: rhbz#1891914
|
|
||||||
|
|
||||||
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 1.14.5-3
|
|
||||||
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
||||||
Related: rhbz#1991688
|
|
||||||
|
|
||||||
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1.14.5-2
|
|
||||||
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
||||||
|
|
||||||
* Fri Feb 12 2021 Lumír Balhar <lbalhar@redhat.com> - 1.14.5-1
|
|
||||||
- Update to 1.14.5
|
|
||||||
Resolves: rhbz#1927933
|
|
||||||
|
|
||||||
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.14.3-2
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
||||||
|
|
||||||
* Thu Nov 19 2020 Joel Capitao <jcapitao@redhat.com> - 1.14.3-1
|
|
||||||
- Update to 1.14.3
|
|
||||||
|
|
||||||
* Tue Sep 08 2020 Lumír Balhar <lbalhar@redhat.com> - 1.14.2-1
|
|
||||||
- Update to 1.14.2 (#1869032)
|
|
||||||
|
|
||||||
* Fri Aug 14 2020 Miro Hrončok <mhroncok@redhat.com> - 1.14.1-1
|
|
||||||
- Update to 1.14.1
|
|
||||||
- Fixes: rhbz#1860698
|
|
||||||
- Fixes: rhbz#1865276
|
|
||||||
|
|
||||||
* Sat May 23 2020 Miro Hrončok <mhroncok@redhat.com> - 1.14.0-2
|
|
||||||
- Rebuilt for Python 3.9
|
|
||||||
|
|
||||||
* Mon Feb 10 2020 Lumír Balhar <lbalhar@redhat.com> - 1.14.0
|
|
||||||
- Update to 1.14.0 (#1800646)
|
|
||||||
|
|
||||||
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.13.2-2
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
||||||
|
|
||||||
* Mon Nov 18 2019 Lumír Balhar <lbalhar@redhat.com> - 1.13.2-1
|
* Mon Nov 18 2019 Lumír Balhar <lbalhar@redhat.com> - 1.13.2-1
|
||||||
- Update to 1.13.2 (#1768219)
|
- Update to 1.13.2 (#1768219)
|
||||||
|
Loading…
Reference in New Issue
Block a user