## START: Set by rpmautospec ## (rpmautospec version 0.6.0) ## 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 Name: python-mkdocs-redirects Version: 1.2.1 Release: %autorelease Summary: MkDocs plugin for dynamic page redirects to prevent broken links BuildArch: noarch License: MIT URL: https://github.com/datarobot/mkdocs-redirects Source: %{pypi_source mkdocs-redirects} BuildRequires: python3-devel BuildRequires: python3-pytest %description A MkDocs plugin for dynamic page redirects to prevent broken links. %package -n python3-mkdocs-redirects Summary: %{summary} %description -n python3-mkdocs-redirects A MkDocs plugin for dynamic page redirects to prevent broken links. %prep %autosetup -p1 -n mkdocs-redirects-%{version} %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %check %pytest %install %pyproject_install %pyproject_save_files mkdocs_redirects %files -n python3-mkdocs-redirects -f %{pyproject_files} %doc README.md %changelog ## START: Generated by rpmautospec * Tue Aug 13 2024 Davide Cavalca - 1.2.1-1 - Update to 1.6.0; Fixes: RHBZ#2284002 * Tue Aug 16 2022 Sandro Mani - 1.0.6-1 - Update to 1.0.6 * Thu Aug 04 2022 Sandro Mani - 1.0.5-1 - Update to 1.0.5 * Fri Jul 22 2022 Fedora Release Engineering - 1.0.4-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Wed Jun 15 2022 Python Maint - 1.0.4-2 - Rebuilt for Python 3.11 * Thu Mar 31 2022 Sandro Mani - 1.0.4-1 - Update to 1.0.4 * Fri Jan 21 2022 Fedora Release Engineering - 1.0.3-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Sep 03 2021 Sandro Mani - 1.0.3-3 - Add %%check - Add comment about missing LICENSE file * Thu Sep 02 2021 Sandro Mani - 1.0.3-2 - Port to new Python guidelines * Wed Sep 01 2021 Sandro Mani - 1.0.3-1 - Initial package ## END: Generated by rpmautospec