## START: Set by rpmautospec ## (rpmautospec version 0.8.1) ## 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-asgi-lifespan Version: 2.1.0 Release: %autorelease Summary: Programmatic startup/shutdown of ASGI apps License: MIT URL: https://github.com/florimondmanca/asgi-lifespan Source: %{pypi_source asgi-lifespan} BuildArch: noarch BuildRequires: python3-devel %global _description %{expand: Programmatically send startup/shutdown lifespan events into ASGI applications. When used in combination with an ASGI-capable HTTP client such as HTTPX, this allows mocking or testing ASGI applications without having to spin up an ASGI server.} %description %_description %package -n python3-asgi-lifespan Summary: %{summary} %description -n python3-asgi-lifespan %_description %prep %autosetup -p1 -n asgi-lifespan-%{version} %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %pyproject_save_files asgi_lifespan %check %pyproject_check_import %files -n python3-asgi-lifespan -f %{pyproject_files} %doc README.md %license LICENSE %changelog ## START: Generated by rpmautospec * Mon Dec 15 2025 Priscila Gutierres - 2.1.0-1 - Uncommitted changes * Mon Dec 15 2025 Priscila Gutierres - Initial setup of the repo ## END: Generated by rpmautospec