## START: Set by rpmautospec ## (rpmautospec version 0.8.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; 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-rich-rst Version: 1.3.2 Release: %autorelease Summary: A beautiful reStructuredText renderer for rich License: MIT URL: https://wasi-master.github.io/rich-rst Source: %{pypi_source rich_rst} BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3-pytest %global _description %{expand: A beautiful reStructuredText renderer for rich.} %description %_description %package -n python3-rich-rst Summary: %{summary} %description -n python3-rich-rst %_description %pyproject_extras_subpkg -n python3-rich-rst docs %prep %autosetup -p1 -n rich_rst-%{version} %generate_buildrequires %pyproject_buildrequires -x docs %build %pyproject_wheel %install %pyproject_install %pyproject_save_files -l rich_rst %check %pyproject_check_import %pytest %files -n python3-rich-rst -f %{pyproject_files} %changelog ## START: Generated by rpmautospec * Fri Dec 19 2025 John Doe - 1.3.2-1 - Uncommitted changes ## END: Generated by rpmautospec