## 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-mkdocs-literate-nav Version: 0.6.1 Release: %autorelease Summary: MkDocs plugin to specify the navigation in Markdown instead of YAML License: MIT URL: https://oprypin.github.io/mkdocs-literate-nav Source: %{pypi_source mkdocs_literate_nav} BuildArch: noarch BuildRequires: python3-devel %if %{with tests} BuildRequires: python3dist(pytest) BuildRequires: python3dist(pytest-golden) %endif %global _description %{expand: This package provides a plugin for MkDocs to specify the navigation in Markdown instead of YAML.} %description %_description %package -n python3-mkdocs-literate-nav Summary: %{summary} %description -n python3-mkdocs-literate-nav %_description %prep %autosetup -p1 -n mkdocs_literate_nav-%{version} %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %pyproject_save_files -l mkdocs_literate_nav %check %if %{with tests} %pytest -v %else %pyproject_check_import %endif %files -n python3-mkdocs-literate-nav -f %{pyproject_files} %doc README.md %changelog ## START: Generated by rpmautospec * Fri Dec 13 2024 Davide Cavalca - 0.6.1-1 - Initial import; Fixes: RHBZ#2332275 ## END: Generated by rpmautospec