%global _empty_manifest_terminate_build 0 Name: python-httptools Version: 0.6.1 Release: 1 Summary: Fast HTTP parser License: MIT URL: https://github.com/MagicStack/httptools Source0: https://files.pythonhosted.org/packages/67/1d/d77686502fced061b3ead1c35a2d70f6b281b5f723c4eff7a2277c04e4a2/httptools-0.6.1.tar.gz %description httptools is a Python binding for nodejs HTTP parser. %package -n python3-httptools Summary: Fast HTTP parser Provides: python-httptools BuildRequires: gcc BuildRequires: http-parser-devel BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-wheel BuildRequires: python3-Cython %description -n python3-httptools httptools is a Python binding for nodejs HTTP parser. %package help Summary: Development documents and examples for httptools Provides: python3-httptools-doc %description help httptools is a Python binding for nodejs HTTP parser. %prep %autosetup -n httptools-%{version} -p1 %build %py3_build build_ext \--use-system-http-parser %install %py3_install %check pushd vendor/http-parser PYTHONPATH=%{buildroot}%{python3_sitearch} %{__python3} -m unittest discover -v || : popd %files -n python3-httptools %license LICENSE %doc README.md %{python3_sitearch}/httptools-*.egg-info/ %{python3_sitearch}/httptools/ %changelog * Fri Dec 08 2023 jiangxinyu - 0.6.1-1 - Update package to version 0.6.1 * Tue Aug 01 2023 sunhui - 0.6.0-1 - Update package to version 0.6.0 * Mon Oct 31 2022 wangjunqi - 0.5.0-1 - Update package to version 0.5.0 * Wed Jul 7 2021 liuliang - 0.1.2-1 - Package init