## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 23; 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-rstcheck Version: 3.3.1 Release: %autorelease Summary: Checks syntax of reStructuredText and code blocks nested within it License: MIT URL: https://github.com/myint/rstcheck Source0: %{pypi_source rstcheck} BuildArch: noarch %description Checks syntax of reStructuredText and code blocks nested within it. %package -n python3-rstcheck BuildRequires: python3-devel BuildRequires: python3-setuptools Summary: %{summary} %description -n python3-rstcheck Checks syntax of reStructuredText and code blocks nested within it. %prep %autosetup -n rstcheck-%{version} # remove shebang sed -i '1d' rstcheck.py %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %pyproject_save_files rstcheck %check %pyproject_check_import %files -n python3-rstcheck -f %{pyproject_files} %doc README.rst AUTHORS.rst %{_bindir}/rstcheck %changelog ## START: Generated by rpmautospec * Fri Jul 19 2024 Fedora Release Engineering - 3.3.1-23 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Fri Jun 07 2024 Python Maint - 3.3.1-22 - Rebuilt for Python 3.13 * Fri Jan 26 2024 Fedora Release Engineering - 3.3.1-21 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Jan 22 2024 Fedora Release Engineering - 3.3.1-20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jul 21 2023 Fedora Release Engineering - 3.3.1-19 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Tue Jun 13 2023 Python Maint - 3.3.1-18 - Rebuilt for Python 3.12 * Fri Jan 20 2023 Fedora Release Engineering - 3.3.1-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Thu Jan 12 2023 Ankur Sinha (Ankur Sinha Gmail) - 3.3.1-16 - chore: modernise spec * Fri Jul 22 2022 Fedora Release Engineering - 3.3.1-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon Jun 13 2022 Python Maint - 3.3.1-12 - Rebuilt for Python 3.11 * Fri Jan 21 2022 Fedora Release Engineering - 3.3.1-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jul 23 2021 Fedora Release Engineering - 3.3.1-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Jun 04 2021 Python Maint - 3.3.1-9 - Rebuilt for Python 3.10 * Wed Jan 27 2021 Fedora Release Engineering - 3.3.1-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Jul 29 2020 Fedora Release Engineering - 3.3.1-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue May 26 2020 Miro Hrončok - 3.3.1-6 - Rebuilt for Python 3.9 * Thu Jan 30 2020 Fedora Release Engineering - 3.3.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Oct 03 2019 Miro Hrončok - 3.3.1-4 - Rebuilt for Python 3.8.0rc1 (#1748018) * Mon Aug 19 2019 Miro Hrončok - 3.3.1-3 - Rebuilt for Python 3.8 * Fri Jul 26 2019 Fedora Release Engineering - 3.3.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Wed Apr 10 2019 Ankur Sinha - 3.3.1-1 - Update to 3.3.1 * Sat Feb 02 2019 Fedora Release Engineering - 3.1-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Oct 12 2018 Zbigniew Jędrzejewski-Szmek - 3.1-8 - Python2 binary package has been removed See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal * Sat Jul 14 2018 Fedora Release Engineering - 3.1-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Tue Jun 19 2018 Miro Hrončok - 3.1-6 - Rebuilt for Python 3.7 * Fri Feb 09 2018 Fedora Release Engineering - 3.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Fri Oct 27 2017 Ankur Sinha - 3.1-4 - Updated as per final comments - add missing BR - make URL complete without macro - correct file lists * Thu Oct 26 2017 Ankur Sinha - 3.1-3 - Update based on review comments - Make BRs and Rs specific to sub packages - Make file lists more specific - Use summary macro * Thu Oct 26 2017 Ankur Sinha - 3.1-2 - No need to provide different binaries - they provide same functionality - https://fedoraproject.org/wiki/Packaging:Python#Executables_in_.2Fusr.2Fbin * Wed Oct 25 2017 Ankur Sinha - 3.1-1 - Initial rpmbuild ## END: Generated by rpmautospec