%global pyver 3.15 %global python python%{pyver} %global puresitedir %{_prefix}/lib/python%{pyver}/site-packages Name: python%{pyver}-hatch-fancy-pypi-readme Version: 25.1.0 Release: 1%{?dist}%{?_trivial}%{?_buildid} Summary: Fancy PyPI READMEs with Hatch License: MIT URL: https://github.com/hynek/hatch-fancy-pypi-readme Source0: https://files.pythonhosted.org/packages/source/h/hatch-fancy-pypi-readme/hatch_fancy_pypi_readme-%{version}.tar.gz BuildArch: noarch BuildRequires: python%{pyver} BuildRequires: python%{pyver}-libs BuildRequires: python%{pyver}-hatchling BuildRequires: python%{pyver}-trove-classifiers BuildRequires: python%{pyver}-pip BuildRequires: python%{pyver}-installer Requires: python%{pyver}-libs Requires: python%{pyver}-hatchling %description Fancy PyPI READMEs with Hatch. %prep %autosetup -n hatch_fancy_pypi_readme-%{version} %build %{python} -m pip wheel --no-deps --no-build-isolation -w dist . %install %{python} -m installer --destdir=%{buildroot} dist/*.whl %files %{_bindir}/hatch-fancy-pypi-readme %{puresitedir}/hatch_fancy_pypi_readme/ %{puresitedir}/hatch_fancy_pypi_readme-*.dist-info/ %changelog * Wed Jul 08 2026 Yonghang Wang - 25.1.0-1%{?dist}%{?_trivial}%{?_buildid} - Build for al2023