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
|
||||
Version: 1.14.5
|
||||
Release: 5%{?dist}
|
||||
Version: 1.13.2
|
||||
Release: 3%{?dist}
|
||||
Summary: Foreign Function Interface for Python to call C code
|
||||
License: MIT
|
||||
URL: https://cffi.readthedocs.org/
|
||||
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: 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
|
||||
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
|
||||
BuildRequires: python3-sphinx
|
||||
BuildRequires: python3-pytest
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-setuptools
|
||||
BuildRequires: python3-pycparser
|
||||
%{?python_provide:%python_provide python3-cffi}
|
||||
%if %{with docs}
|
||||
BuildRequires: python%{python3_pkgversion}-sphinx
|
||||
%endif
|
||||
BuildRequires: python%{python3_pkgversion}-pytest
|
||||
BuildRequires: python%{python3_pkgversion}-devel
|
||||
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
|
||||
reliable way of calling existing C code from Python. The interface is
|
||||
based on LuaJIT’s FFI.
|
||||
@ -47,9 +56,11 @@ Documentation for CFFI, the Foreign Function Interface for Python.
|
||||
%build
|
||||
%py3_build
|
||||
|
||||
%if %{with docs}
|
||||
cd doc
|
||||
make SPHINXBUILD=sphinx-build-3 html
|
||||
rm build/html/.buildinfo
|
||||
%endif
|
||||
|
||||
%install
|
||||
%py3_install
|
||||
@ -57,59 +68,24 @@ rm build/html/.buildinfo
|
||||
%check
|
||||
PYTHONPATH=%{buildroot}%{python3_sitearch} %{__python3} -m pytest c/ testing/
|
||||
|
||||
%files -n python3-cffi
|
||||
%files -n python%{python3_pkgversion}-cffi
|
||||
%doc PKG-INFO
|
||||
%license LICENSE
|
||||
%{python3_sitearch}/cffi/
|
||||
%{python3_sitearch}/_cffi_backend.*.so
|
||||
%{python3_sitearch}/cffi-%{version}-py%{python3_version}.egg-info/
|
||||
|
||||
%if %{with docs}
|
||||
%files doc
|
||||
%doc doc/build/html
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Tue Feb 08 2022 Tomas Orsava <torsava@redhat.com> - 1.14.5-5
|
||||
- Add automatically generated Obsoletes tag with the python39- prefix
|
||||
for smoother upgrade from RHEL8
|
||||
- Related: rhbz#1990421
|
||||
* Fri Dec 13 2019 Tomas Orsava <torsava@redhat.com> - 1.13.2-3
|
||||
- Exclude unsupported i686 arch
|
||||
|
||||
* Thu Aug 19 2021 DJ Delorie <dj@redhat.com> - 1.14.5-4
|
||||
- Rebuilt for libffi 3.4.2 SONAME transition.
|
||||
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
|
||||
* Wed Nov 20 2019 Lumír Balhar <lbalhar@redhat.com> - 1.13.2-2
|
||||
- Adjusted for Python 3.8 module in RHEL 8
|
||||
|
||||
* Mon Nov 18 2019 Lumír Balhar <lbalhar@redhat.com> - 1.13.2-1
|
||||
- Update to 1.13.2 (#1768219)
|
||||
|
Loading…
Reference in New Issue
Block a user