## START: Set by rpmautospec ## (rpmautospec version 0.7.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 %global _description %{expand: Library for checking syntax of reStructuredText and code blocks nested within it.} %global forgeurl https://github.com/rstcheck/rstcheck-core Name: python-rstcheck-core Version: 1.2.1 Release: %{autorelease} Summary: Checks syntax of reStructuredText and code blocks nested within it %forgemeta License: MIT URL: %forgeurl Source0: %forgesource BuildArch: noarch %description %_description %package -n python3-rstcheck-core Summary: %{summary} BuildRequires: python3-devel # for tests BuildRequires: python3-pytest BuildRequires: python3-pytest-mock BuildRequires: python3-sphinx BuildRequires: python3-tomli BuildRequires: python3-toml BuildRequires: gcc gcc-c++ %description -n python3-rstcheck-core %_description %prep export SETUPTOOLS_SCM_PRETEND_VERSION=%{version} %forgeautosetup %generate_buildrequires export SETUPTOOLS_SCM_PRETEND_VERSION=%{version} %pyproject_buildrequires %build export SETUPTOOLS_SCM_PRETEND_VERSION=%{version} %pyproject_wheel %install export SETUPTOOLS_SCM_PRETEND_VERSION=%{version} %pyproject_install %pyproject_save_files rstcheck_core %check # https://github.com/rstcheck/rstcheck-core/issues/57 %{pytest} -k "not test_check_python_returns_error_on_syntax_warning" %files -n python3-rstcheck-core -f %{pyproject_files} %license LICENSE %doc README.rst %changelog ## START: Generated by rpmautospec * Mon Jul 29 2024 Ankur Sinha (Ankur Sinha Gmail) - 1.2.1-1 - feat: v1.2.1 (fixes rh#2238165) * Mon Jul 29 2024 Ankur Sinha (Ankur Sinha Gmail) - 1.1.1-6 - chore: add packit * Fri Jul 19 2024 Fedora Release Engineering - 1.1.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Sat Jun 29 2024 Python Maint - 1.1.1-4 - Rebuilt for Python 3.13 * Fri Jan 26 2024 Fedora Release Engineering - 1.1.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Jan 22 2024 Fedora Release Engineering - 1.1.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Sep 11 2023 Maxwell G - 1.1.1-1 - Update to 1.1.1. Fixes rhbz#2238165. * Tue Aug 29 2023 Ankur Sinha (Ankur Sinha Gmail) - 1.0.3-7 - fix: disable failing test, add extras for testing (fixes rhbz#2226320) * Fri Jul 21 2023 Fedora Release Engineering - 1.0.3-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Tue Jun 20 2023 Python Maint - 1.0.3-5 - Rebuilt for Python 3.12 * Tue Jun 20 2023 Ankur Sinha (Ankur Sinha Gmail) - 1.0.3-4 - feat: import sources (fixes rhbz#2166009) * Tue Jun 20 2023 Ankur Sinha (Ankur Sinha Gmail) - 1.0.3-3 - feat: ready for review * Tue Jun 20 2023 Ankur Sinha (Ankur Sinha Gmail) - 1.0.3-2 - wip: waiting for https://bugzilla.redhat.com/show_bug.cgi?id=2160539 * Tue Jun 20 2023 Ankur Sinha (Ankur Sinha Gmail) - 1.0.3-1 - init ## END: Generated by rpmautospec