## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 2; 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-typing-inspection Version: 0.4.0 Release: %autorelease Summary: Runtime typing introspection tools # SPDX License: MIT URL: https://github.com/pydantic/typing-inspection Source: %{pypi_source typing_inspection} BuildSystem: pyproject BuildOption(install): -l typing_inspection BuildOption(generate_buildrequires): -g tests BuildArch: noarch BuildRequires: tomcli %global common_description %{expand: This module provides tools to inspect type annotations at runtime.} %description %{common_description} %package -n python3-typing-inspection Summary: %{summary} %description -n python3-typing-inspection %{common_description} %prep -a # https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/#_linters tomcli set pyproject.toml lists delitem dependency-groups.tests \ '(coverage|pytest-cov)\b.*' %check -a %pyproject_check_import %pytest %files -n python3-typing-inspection -f %{pyproject_files} %doc HISTORY.md %doc README.md %changelog ## START: Generated by rpmautospec * Mon Apr 14 2025 Benjamin A. Beasley - 0.4.0-2 - F41+: Use the provisional pyproject declarative buildsystem * Mon Apr 14 2025 Benjamin A. Beasley - 0.4.0-1 - Initial package (close RHBZ#2359303) ## END: Generated by rpmautospec