## 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 %bcond tests 1 Name: python-markdown-callouts Version: 0.4.0 Release: %autorelease Summary: Markdown extension to provide a classier syntax for admonitions License: MIT URL: https://oprypin.github.io/markdown-callouts Source: %{pypi_source markdown_callouts} BuildArch: noarch BuildRequires: python3-devel %if %{with tests} BuildRequires: python3dist(beautifulsoup4) BuildRequires: python3dist(pytest) BuildRequires: python3dist(pytest-golden) %endif %global _description %{expand: This package provides an extension for Python-Markdown that adds a classier syntax for admonitions.} %description %_description %package -n python3-markdown-callouts Summary: %{summary} %description -n python3-markdown-callouts %_description %prep %autosetup -p1 -n markdown_callouts-%{version} %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %pyproject_save_files -l markdown_callouts %check %if %{with tests} %pytest %else %pyproject_check_import %endif %files -n python3-markdown-callouts -f %{pyproject_files} %doc README.md %changelog ## START: Generated by rpmautospec * Fri Dec 13 2024 Davide Cavalca - 0.4.0-1 - Initial import; Fixes: RHBZ#2332078 ## END: Generated by rpmautospec