## START: Set by rpmautospec ## (rpmautospec version 0.3.2) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 3; 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 %global _description %{expand: Library for checking syntax of reStructuredText and code blocks nested within it.} Name: python-rstcheck-core Version: 1.0.3 Release: %{autorelease} Summary: Checks syntax of reStructuredText and code blocks nested within it License: MIT URL: https://pypi.org/pypi/rstcheck-core Source0: %{pypi_source rstcheck_core} BuildArch: noarch %description %_description %package -n python3-rstcheck-core Summary: %{summary} BuildRequires: python3-devel # for tests BuildRequires: python3-pytest BuildRequires: python3-pytest-mock BuildRequires: gcc gcc-c++ %description -n python3-rstcheck-core %_description %prep %autosetup -n rstcheck_core-%{version} %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %pyproject_save_files rstcheck_core %check %{pytest} %files -n python3-rstcheck-core -f %{pyproject_files} %license LICENSE %doc README.rst %changelog * Tue Jan 31 2023 Ankur Sinha (Ankur Sinha Gmail) - 1.0.3-3 - Uncommitted changes * Mon Jan 30 2023 Ankur Sinha (Ankur Sinha Gmail) - 1.0.3-2 - wip: waiting for https://bugzilla.redhat.com/show_bug.cgi?id=2160539 * Thu Jan 12 2023 Ankur Sinha (Ankur Sinha Gmail) - 1.0.3-1 - init