## START: Set by rpmautospec ## (rpmautospec version 0.6.0) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 3; 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 giturl https://github.com/jdillard/sphinx-sitemap Name: python-sphinx-sitemap Version: 2.6.0 Release: %autorelease Summary: Sitemap generator for Sphinx License: MIT URL: https://sphinx-sitemap.readthedocs.io/ VCS: git:%{giturl}.git Source: %{giturl}/archive/v%{version}/sphinx-sitemap-%{version}.tar.gz BuildArch: noarch BuildRequires: python3-devel %global _description %{expand: This package contains a Sphinx extension to generate multiversion and multilanguage sitemaps.org-compliant sitemaps for the HTML version of your Sphinx documentation.} %description %_description %package -n python3-sphinx-sitemap Summary: Sitemap generator for Sphinx %description -n python3-sphinx-sitemap %_description %prep %autosetup -n sphinx-sitemap-%{version} %generate_buildrequires %pyproject_buildrequires -t %build %pyproject_wheel rst2html --no-datestamp README.rst README.html %install %pyproject_install %pyproject_save_files sphinx_sitemap %check %tox %files -n python3-sphinx-sitemap -f %{pyproject_files} %doc README.html %changelog ## START: Generated by rpmautospec * Wed Jul 17 2024 Jerry James - 2.6.0-3 - Fix the VCS field * Fri Jun 07 2024 Python Maint - 2.6.0-2 - Rebuilt for Python 3.13 * Mon Apr 29 2024 Jerry James - 2.6.0-1 - Version 2.6.0 - Drop upstreamed setuptools patch - Use %%tox to test * Fri Jan 26 2024 Sandro - 2.5.1-4 - Fix for setuptools >= 69 (RHBZ#2259652) * Fri Jan 26 2024 Fedora Release Engineering - 2.5.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Jan 22 2024 Fedora Release Engineering - 2.5.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Aug 18 2023 Jerry James - 2.5.1-1 - Version 2.5.1 * Fri Jul 21 2023 Fedora Release Engineering - 2.5.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Wed Jun 14 2023 Python Maint - 2.5.0-2 - Rebuilt for Python 3.12 * Thu Feb 23 2023 Jerry James - 2.5.0-1 - Dynamically generate BuildRequires * Sat Jan 28 2023 Jerry James - 2.5.0-1 - Version 2.5.0 * Fri Jan 20 2023 Fedora Release Engineering - 2.4.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Fri Jan 6 2023 Jerry James - 2.4.0-1 - Version 2.4.0 - Verify that MIT is the correct SPDX identifier * Wed Dec 21 2022 Jerry James - 2.3.0-1 - Version 2.3.0 - Test with pytest * Sat Nov 12 2022 Jerry James - 2.2.1-1 - Version 2.2.1 * Fri Jul 22 2022 Fedora Release Engineering - 2.2.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon Jun 13 2022 Python Maint - 2.2.0-3 - Rebuilt for Python 3.11 * Fri Jan 21 2022 Fedora Release Engineering - 2.2.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Sat Oct 2 2021 Jerry James - 2.2.0-1 - Initial RPM ## END: Generated by rpmautospec