## START: Set by rpmautospec ## (rpmautospec version 0.8.3) ## 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-httpx-sse Version: 0.4.3 Release: %autorelease Summary: Consume Server-Sent Event (SSE) messages with HTTPX. License: MIT URL: https://github.com/florimondmanca/httpx-sse Source: %{pypi_source httpx_sse} # Patch setup.cfg to remove --cov options from the pytest cli args. Patch: remove-coverage-options-from-pytest.diff BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3-httpx BuildRequires: python3-sse-starlette # Dependencies for testing BuildRequires: python3-pytest BuildRequires: python3-pytest-asyncio %global _description %{expand: Consume Server-Sent Event (SSE) messages with HTTPX.} %description %_description %package -n python3-httpx-sse Summary: %{summary} %description -n python3-httpx-sse %_description %prep %autosetup -p1 -n httpx_sse-%{version} %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install # Add top-level Python module names here as arguments, you can use globs %pyproject_save_files -l httpx_sse %check %pyproject_check_import %pytest %files -n python3-httpx-sse -f %{pyproject_files} %license LICENSE %changelog ## START: Generated by rpmautospec * Thu Jan 29 2026 John Doe - 0.4.3-1 - Uncommitted changes ## END: Generated by rpmautospec