%global srcname sphinx-issues %global python3_pkgversion 3.11 Name: python-%{srcname} Version: 3.0.1 Release: 2.ac7%{?dist} Summary: Sphinx extension for linking to your project's issue tracker License: MIT URL: https://github.com/sloria/sphinx-issues Source0: %pypi_source BuildArch: noarch BuildRequires: python%{python3_pkgversion}-devel %description A Sphinx extension for linking to your project's issue tracker. Includes roles for linking to issues, pull requests, user profiles, with built-in support for GitHub (though this works with other services). %package -n python%{python3_pkgversion}-%{srcname} Summary: %{summary} %description -n python%{python3_pkgversion}-%{srcname} A Sphinx extension for linking to your project's issue tracker. Includes roles for linking to issues, pull requests, user profiles, with built-in support for GitHub (though this works with other services). %prep %autosetup -n %{srcname}-%{version} %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %pyproject_save_files sphinx_issues %files -n python%{python3_pkgversion}-%{srcname} -f %{pyproject_files} %license LICENSE %doc README.rst %changelog * Thu Mar 28 2024 Ding-Yi Chen - 3.0.1-2.ac7 - Cut corner packaging