%global pypi_name typing-inspect %global pypi_srcname typing_inspect Name: python-%{pypi_name} Version: 0.7.1 Release: 1%{?dist} Summary: Runtime inspection utilities for typing module License: MIT URL: https://github.com/ilevkivskyi/%{pypi_srcname} Source0: %{pypi_source %pypi_srcname} BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3dist(mypy-extensions) BuildRequires: python3dist(setuptools) BuildRequires: python3dist(typing-extensions) %description Typing Inspect The "%{pypi_srcname}" module defines experimental API for runtime inspection of types defined in the standard "typing" module. %package -n python3-%{pypi_name} Summary: %{summary} %{?python_provide:%python_provide python3-%{pypi_name}} Requires: python3dist(mypy-extensions) Requires: python3dist(typing-extensions) %description -n python3-%{pypi_name} The "%{pypi_srcname}" module defines experimental API for runtime inspection of types defined in the standard "typing" module. %prep %autosetup -n %{pypi_srcname}-%{version} # Remove bundled egg-info rm -rf %{pypi_name}.egg-info %build %py3_build %install %py3_install %files -n python3-%{pypi_name} %license LICENSE %doc README.md %{python3_sitelib}/__pycache__/%{pypi_srcname}.*.pyc %{python3_sitelib}/%{pypi_srcname}.py %{python3_sitelib}/%{pypi_srcname}-%{version}-py*.egg-info %changelog * Thu Dec 23 2021 Cristian Balint - 0.7.1-1 - new release * Fri Jul 23 2021 Fedora Release Engineering - 0.6.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild