## START: Set by rpmautospec ## (rpmautospec version 0.6.0) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 2; 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 pypi_name mkdocs-get-deps %global srcname mkdocs_get_deps Name: python-%{pypi_name} Version: 0.2.0 Release: %autorelease Summary: MkDocs extension that lists all dependencies according to a mkdocs.yml file License: MIT URL: https://github.com/mkdocs/get-deps Source: %{pypi_source %{srcname}} BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3-pytest %global _description %{expand: This package provides an extra command for MkDocs that infers required PyPI packages from plugins in mkdocs.yml.} %description %_description %package -n python3-mkdocs-get-deps Summary: %{summary} %description -n python3-mkdocs-get-deps %_description %prep %autosetup -p1 -n %{srcname}-%{version} %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %pyproject_save_files %{srcname} %check %pytest %files -n python3-%{pypi_name} -f %{pyproject_files} %doc README.md %{_bindir}/%{pypi_name} %changelog ## START: Generated by rpmautospec * Fri Jun 07 2024 Python Maint - 0.2.0-2 - Rebuilt for Python 3.13 * Wed May 29 2024 Davide Cavalca - 0.2.0-1 - Initial import; Fixes: RHBZ#2283704 ## END: Generated by rpmautospec