%global srcname docstring-parser Name: python-%{srcname} Version: 0.15 Release: 1 Summary: Parse Python docstrings License: MIT URL: https://github.com/rr-/docstring_parser Source0: %{pypi_source docstring_parser} BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3-pip BuildRequires: python3-wheel BuildRequires: python3-editables BuildRequires: python3-hatch-vcs BuildRequires: python3-hatchling BuildRequires: python3-poetry-core %global _description %{expand: Parse Python docstrings. Currently support ReST, Google, Numpydoc-style and Epydoc docstrings.} %description %{_description} %package -n python3-%{srcname} Summary: %{summary} %description -n python3-%{srcname} %{_description} %prep %autosetup -n docstring_parser-%{version} %build %pyproject_build %install %pyproject_install %files -n python3-%{srcname} %defattr(-,root,root) %license LICENSE.md %{python3_sitelib}/docstring_parser/ %{python3_sitelib}/docstring_parser*.dist-info/ %doc README.md %changelog * Mon Jun 26 2023 chaozhangm - 0.15-1 - Initial package.