Compare commits

..

No commits in common. 'i10c-beta' and 'c9' have entirely different histories.

2
.gitignore vendored

@ -1 +1 @@
SOURCES/cffi-1.17.0.tar.gz SOURCES/cffi-1.14.5.tar.gz

@ -1 +1 @@
0b09497927e3d3f4f918c5fbacc23bfb92a8ab74 SOURCES/cffi-1.17.0.tar.gz 21cdeccd7b7b121d35eae1b8e91d78f9ec83da98 SOURCES/cffi-1.14.5.tar.gz

@ -1,25 +1,11 @@
## START: Set by rpmautospec
## (rpmautospec version 0.6.5)
## RPMAUTOSPEC: autorelease, autochangelog
%define autorelease(e:s:pb:n) %{?-p:0.}%{lua:
release_number = 1;
base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}"));
print(release_number + base_release_number - 1);
}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}}
## END: Set by rpmautospec
Name: python-cffi Name: python-cffi
Version: 1.17.0 Version: 1.14.5
Release: %autorelease Release: 5%{?dist}
Summary: Foreign Function Interface for Python to call C code Summary: Foreign Function Interface for Python to call C code
# cffi is MIT License: MIT
# cffi/_imp_emulation.py has bits copied from CPython (PSF-2.0) URL: https://cffi.readthedocs.org/
License: MIT AND PSF-2.0 Source0: %{pypi_source cffi}
URL: https://github.com/python-cffi/cffi
Source: %{url}/archive/v%{version}/cffi-%{version}.tar.gz
BuildRequires: python3-devel
BuildRequires: python3-pytest
BuildRequires: make BuildRequires: make
BuildRequires: libffi-devel BuildRequires: libffi-devel
BuildRequires: gcc BuildRequires: gcc
@ -27,152 +13,76 @@ BuildRequires: gcc
# For tests: # For tests:
BuildRequires: gcc-c++ BuildRequires: gcc-c++
%?python_enable_dependency_generator
%description %description
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 LuaJITs FFI. based on LuaJITs FFI.
%package -n python3-cffi %package -n python3-cffi
Summary: %{summary} 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}
%description -n python3-cffi %description -n python3-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 LuaJITs FFI. based on LuaJITs FFI.
%package doc %package doc
Summary: Documentation for CFFI Summary: Documentation for CFFI
BuildArch: noarch BuildArch: noarch
BuildRequires: python3-sphinx
%description doc %description doc
Documentation for CFFI, the Foreign Function Interface for Python. Documentation for CFFI, the Foreign Function Interface for Python.
%prep %prep
%autosetup -p1 -n cffi-%{version} %autosetup -p1 -n cffi-%{version}
%generate_buildrequires
%pyproject_buildrequires
%build %build
%pyproject_wheel %py3_build
cd doc cd doc
make html make SPHINXBUILD=sphinx-build-3 html
rm build/html/.buildinfo rm build/html/.buildinfo
%install %install
%pyproject_install %py3_install
%pyproject_save_files _cffi_backend cffi
%check %check
%pytest PYTHONPATH=%{buildroot}%{python3_sitearch} %{__python3} -m pytest c/ testing/
%files -n python3-cffi -f %{pyproject_files} %files -n python3-cffi
%doc README.md %doc PKG-INFO
%license LICENSE
%{python3_sitearch}/cffi/
%{python3_sitearch}/_cffi_backend.*.so
%{python3_sitearch}/cffi-%{version}-py%{python3_version}.egg-info/
%files doc %files doc
%license LICENSE
%doc doc/build/html %doc doc/build/html
%changelog %changelog
## START: Generated by rpmautospec * Tue Feb 08 2022 Tomas Orsava <torsava@redhat.com> - 1.14.5-5
* Tue Jan 14 2025 Eduard Basov <ebasov@msvsphere-os.ru> - 1.17.0-1 - Add automatically generated Obsoletes tag with the python39- prefix
- Rebuild For MSVSphere 10 for smoother upgrade from RHEL8
- Related: rhbz#1990421
* Tue Aug 06 2024 Miro Hrončok <miro@hroncok.cz> - 1.17.0-1
- Update to 1.17.0
- Fixes: rhbz#2303248
* Mon Aug 05 2024 Miro Hrončok <miro@hroncok.cz> - 1.17.0~rc1-1
- Update to 1.17.0rc1
- Fixes: rhbz#2283074
* Fri Jul 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.16.0-6 * Thu Aug 19 2021 DJ Delorie <dj@redhat.com> - 1.14.5-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild - Rebuilt for libffi 3.4.2 SONAME transition.
Related: rhbz#1891914
* Fri Jun 07 2024 Python Maint <python-maint@redhat.com> - 1.16.0-5 * Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 1.14.5-3
- Rebuilt for Python 3.13 - Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.16.0-4 * Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1.14.5-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild - Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.16.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Mon Nov 20 2023 Miro Hrončok <miro@hroncok.cz> - 1.16.0-2
- Python 3.13.0a1+ compatibility
* Mon Oct 02 2023 Miro Hrončok <miro@hroncok.cz> - 1.16.0-1
- Update to 1.16.0
- Fixes: rhbz#2240695
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.15.1-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Wed Jun 14 2023 Python Maint <python-maint@redhat.com> - 1.15.1-5
- Rebuilt for Python 3.12
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.15.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Mon Nov 14 2022 Miro Hrončok <mhroncok@redhat.com> - 1.15.1-3
- Fix build with pytest 7.2
- Fixes: rhbz#2142063
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.15.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Fri Jul 15 2022 Miro Hrončok <mhroncok@redhat.com> - 1.15.1-1
- Adjust tests for a last minute Python 3.11 change in the traceback format
* Mon Jul 11 2022 Lumír Balhar <lbalhar@redhat.com> - 1.15.1-0
- Update to 1.15.1
Resolves: rhbz#2102824
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 1.15.0-6
- Rebuilt for Python 3.11
* Wed Mar 30 2022 Miro Hrončok <mhroncok@redhat.com> - 1.15.0-5
- Fix alignment issue on ppc64le
- Fixes: rhbz#2046865
* Wed Feb 02 2022 Tomáš Hrnčiar <thrnciar@redhat.com> - 1.15.0-4
- Backport patch to fix compatibility with Python 3.11
- Fixes: rhbz#2040165
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.15.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Sat Jan 08 2022 Miro Hrončok <mhroncok@redhat.com> - 1.15.0-2
- Rebuilt for https://fedoraproject.org/wiki/Changes/LIBFFI34
* Tue Dec 21 2021 Lumír Balhar <lbalhar@redhat.com> - 1.15.0-1
- Update to 1.15.0
Resolves: rhbz#2013760
* Thu Oct 07 2021 Tomáš Hrnčiar <thrnciar@redhat.com> - 1.15.0~rc2-1
- Update to 1.15.0rc2
Resolves: rhbz#2007006
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.14.6-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Fri Jul 09 2021 Lumír Balhar <lbalhar@redhat.com> - 1.14.6-1
- Update to 1.14.6
Resolves: rhbz#1980622
* Wed Jun 02 2021 Python Maint <python-maint@redhat.com> - 1.14.5-2
- Rebuilt for Python 3.10
* Fri Feb 12 2021 Lumír Balhar <lbalhar@redhat.com> - 1.14.5-1 * Fri Feb 12 2021 Lumír Balhar <lbalhar@redhat.com> - 1.14.5-1
- Update to 1.14.5 - Update to 1.14.5
@ -387,5 +297,3 @@ Resolves: rhbz#1927933
* Sun Jul 21 2013 Eric Smith <spacewar@gmail.com> 0.6-1 * Sun Jul 21 2013 Eric Smith <spacewar@gmail.com> 0.6-1
- initial version - initial version
## END: Generated by rpmautospec

Loading…
Cancel
Save