## 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-gen-files Version: 0.5.0 Release: %autorelease Summary: MkDocs plugin to generate documentation pages during the build License: MIT URL: https://oprypin.github.io/mkdocs-gen-files Source: %{pypi_source mkdocs_gen_files} 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 programmatically generate documentation pages during the build.} %description %_description %package -n python3-mkdocs-gen-files Summary: %{summary} %description -n python3-mkdocs-gen-files %_description %prep %autosetup -p1 -n mkdocs_gen_files-%{version} %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %pyproject_save_files -l mkdocs_gen_files %check %if %{with tests} %pytest %else %pyproject_check_import %endif %files -n python3-mkdocs-gen-files -f %{pyproject_files} %doc README.md %changelog ## START: Generated by rpmautospec * Sat Dec 21 2024 Davide Cavalca - 0.5.0-1 - Initial import; Fixes: RHBZ#2332286 ## END: Generated by rpmautospec