Name: python-typer-di Version: 0.1.3 Release: %autorelease # Fill in the actual package summary to submit package to Fedora Summary: Extension for `typer` for dependency injection like in FastAPI # No license information obtained, it's up to the packager to fill it in License: ... URL: ... Source: %{pypi_source typer_di} BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3dist(poetry-core) BuildRequires: python3dist(typer-slim) >= 0.9.0 BuildRequires: python3dist(typing-extensions) >= 4.7.1 # Fill in the actual package description to submit package to Fedora %global _description %{expand: This is package 'typer-di' generated automatically by pyp2spec.} %description %_description %package -n python3-typer-di Summary: %{summary} %description -n python3-typer-di %_description %prep %autosetup -p1 -n typer_di-%{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 '*' +auto %check %pyproject_check_import %files -n python3-typer-di -f %{pyproject_files} %changelog %autochangelog