Compare commits

..

No commits in common. "afc64d04cb5a939010ffc926d423b01bddde6375" and "b55a356d05811bdf1afb27f4f99f34134b592e0f" have entirely different histories.

3 changed files with 3 additions and 19 deletions

BIN
cffi-1.15.0.tar.gz Normal file

Binary file not shown.

Binary file not shown.

View File

@ -5,13 +5,14 @@ C Foreign Function Interface for Python. Interact with almost any C code from Py
based on C-like declarations that you can often copy-paste from header files or documentation.
Name: python-%{_name}
Version: 1.16.0
Version: 1.15.0
Release: 2
Summary: %{_summary}
License: MIT
URL: http://cffi.readthedocs.org
Source0: https://files.pythonhosted.org/packages/source/c/cffi/%{_name}-%{version}.tar.gz
Buildrequires: libffi-devel gcc-c++ gcc python3-sphinx
%?python_enable_dependency_generator
@ -21,8 +22,6 @@ Buildrequires: libffi-devel gcc-c++ gcc python3-sphinx
%package -n python3-%{_name}
Summary: %{_summary}
Buildrequires: python3-devel python3-pycparser python3-pytest python3-setuptools
# for test
Buildrequires: python3-py
%{?python_provide:%python_provide python3-%{_name}}
%description -n python3-%{_name} %{_description}
@ -39,7 +38,7 @@ Buildrequires: python3-py
%py3_install
%check
PYTHONPATH=%{buildroot}%{python3_sitearch} %{__python3} -m pytest
PYTHONPATH=%{buildroot}%{python3_sitearch} %{__python3} -m pytest c/ testing/
%files -n python3-%{_name}
%defattr(-,root,root)
@ -53,21 +52,6 @@ PYTHONPATH=%{buildroot}%{python3_sitearch} %{__python3} -m pytest
%doc PKG-INFO README.md
%changelog
* Sun Apr 07 2024 shixuantong <shixuantong1@huawei.com> - 1.16.0-2
- do not set the test suite search path
* Wed Jan 10 2024 Dongxing Wang <dongxing.wang_a@thundersoft.com> - 1.16.0-1
- Update package to version 1.16.0
* Thu Jul 27 2023 shixuantong <shixuantong1@huawei.com> - 1.15.1-3
- Adjust tests for a last minute Python 3.11 change in the traceback format
* Sat Jul 08 2023 shixuantong <shixuantong1@huawei.com> - 1.15.1-2
- add python3-py to buildrequire
* Thu Jan 19 2023 chendh6<chendonghui6@huawei.com> - 1.15.1-1
- DESC:upgrade 1.15.1-1
* Mon Jun 20 2022 tanyulong <tanyulong@kylinos.cn> - 1.15.0-2
- Delete unnecessary gdb from BuildRequires