Compare commits

...

No commits in common. "stream-python39-3.9-rhel-8.9.0" and "c8-stream-3.8" have entirely different histories.

4 changed files with 10 additions and 42 deletions

2
.gitignore vendored
View File

@ -1 +1 @@
/cffi-1.14.3.tar.gz SOURCES/cffi-1.13.2.tar.gz

1
.python-cffi.metadata Normal file
View File

@ -0,0 +1 @@
ad94c1b64570ec3016a945d4b226d527de81f9b9 SOURCES/cffi-1.13.2.tar.gz

View File

@ -1,11 +1,8 @@
# RHEL: Docs disabled due to python3-sphinx not being installable during build of the python39 module
%bcond_with docs %bcond_with docs
%bcond_without tests
Name: python-cffi Name: python-cffi
Version: 1.14.3 Version: 1.13.2
Release: 2%{?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/
@ -16,14 +13,11 @@ Source0: %{pypi_source cffi}
# See: https://projects.engineering.redhat.com/browse/RCM-72605 # See: https://projects.engineering.redhat.com/browse/RCM-72605
ExcludeArch: i686 ExcludeArch: i686
BuildRequires: make
BuildRequires: libffi-devel BuildRequires: libffi-devel
BuildRequires: gcc BuildRequires: gcc
%if %{with tests}
# For tests: # For tests:
BuildRequires: gcc-c++ BuildRequires: gcc-c++
%endif
%?python_enable_dependency_generator %?python_enable_dependency_generator
@ -35,15 +29,13 @@ based on LuaJITs FFI.
%package -n python%{python3_pkgversion}-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
%if %{with docs} %if %{with docs}
BuildRequires: python3-sphinx BuildRequires: python%{python3_pkgversion}-sphinx
%endif %endif
%if %{with tests}
BuildRequires: python%{python3_pkgversion}-pytest BuildRequires: python%{python3_pkgversion}-pytest
%endif
BuildRequires: python%{python3_pkgversion}-devel BuildRequires: python%{python3_pkgversion}-devel
BuildRequires: python%{python3_pkgversion}-rpm-macros
BuildRequires: python%{python3_pkgversion}-setuptools BuildRequires: python%{python3_pkgversion}-setuptools
BuildRequires: python%{python3_pkgversion}-pycparser BuildRequires: python%{python3_pkgversion}-pycparser
BuildRequires: python%{python3_pkgversion}-rpm-macros
%{?python_provide:%python_provide python%{python3_pkgversion}-cffi} %{?python_provide:%python_provide python%{python3_pkgversion}-cffi}
%description -n python%{python3_pkgversion}-cffi %description -n python%{python3_pkgversion}-cffi
@ -51,7 +43,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 LuaJITs FFI. based on LuaJITs FFI.
%if %{with docs}
%package doc %package doc
Summary: Documentation for CFFI Summary: Documentation for CFFI
BuildArch: noarch BuildArch: noarch
@ -59,9 +50,6 @@ BuildArch: noarch
%description doc %description doc
Documentation for CFFI, the Foreign Function Interface for Python. Documentation for CFFI, the Foreign Function Interface for Python.
%endif
%prep %prep
%autosetup -p1 -n cffi-%{version} %autosetup -p1 -n cffi-%{version}
@ -77,10 +65,8 @@ rm build/html/.buildinfo
%install %install
%py3_install %py3_install
%if %{with tests}
%check %check
PYTHONPATH=%{buildroot}%{python3_sitearch} %{__python3} -m pytest c/ testing/ PYTHONPATH=%{buildroot}%{python3_sitearch} %{__python3} -m pytest c/ testing/
%endif
%files -n python%{python3_pkgversion}-cffi %files -n python%{python3_pkgversion}-cffi
%doc PKG-INFO %doc PKG-INFO
@ -95,29 +81,11 @@ PYTHONPATH=%{buildroot}%{python3_sitearch} %{__python3} -m pytest c/ testing/
%endif %endif
%changelog %changelog
* Mon Jan 18 2021 Tomas Orsava <torsava@redhat.com> - 1.14.3-2 * Fri Dec 13 2019 Tomas Orsava <torsava@redhat.com> - 1.13.2-3
- Convert from Fedora to the python39 module in RHEL8 - Exclude unsupported i686 arch
- Resolves: rhbz#1877430
* Thu Nov 19 2020 Joel Capitao <jcapitao@redhat.com> - 1.14.3-1 * Wed Nov 20 2019 Lumír Balhar <lbalhar@redhat.com> - 1.13.2-2
- Update to 1.14.3 - Adjusted for Python 3.8 module in RHEL 8
* 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)

View File

@ -1 +0,0 @@
SHA512 (cffi-1.14.3.tar.gz) = 1eedd27df1b6743d1ace3cc036c6c46e800872705e8ec1e40d190b93a1b5ad759cdb8b9936bf6d70bed63476ea213f5a90b3a3b82db0a8d4d0e29654fb60154f