## START: Set by rpmautospec ## (rpmautospec version 0.8.4) ## 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 %global srcname sphinx-autoapi %global srcname_ sphinx_autoapi Name: python-%{srcname} Version: 3.8.1 Release: %autorelease Summary: Sphinx API documentation generator License: MIT URL: https://github.com/readthedocs/sphinx-autoapi Source: %pypi_source %{srcname_} BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3dist(beautifulsoup4) BuildRequires: python3dist(pytest) %global _description %{expand: Sphinx AutoAPI is a Sphinx extension for generating complete API documentation without needing to load, run, or import the project being documented. In contrast to the traditional Sphinx autodoc, which requires manual authoring and uses code imports, AutoAPI finds and generates documentation by parsing source code.} %description %{_description} %package -n python3-%{srcname} Summary: %{summary} %description -n python3-%{srcname} %{_description} %prep %autosetup -n %{srcname_}-%{version} -p1 # These symlinks are lost from the sdist. # https://github.com/readthedocs/sphinx-autoapi/issues/565 ln -s ../pyexample/example tests/python/pymovedconfpy/example ln -s ../example_2 tests/toctreeexample/example/example_2 %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %pyproject_save_files -l autoapi %check %{pytest} -m 'not network' %files -n python3-%{srcname} -f %{pyproject_files} %doc README.rst %changelog ## START: Generated by rpmautospec * Sun Aug 23 2026 Packit - 3.8.1-1 - Update to 3.8.1 upstream release - Resolves: rhbz#2521660 * Thu Jul 16 2026 Fedora Release Engineering - 3.8.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild * Sat Jun 27 2026 Packit - 3.8.0-1 - Update to 3.8.0 upstream release - Resolves: rhbz#2438815 * Thu Jun 04 2026 Python Maint - 3.6.1-3 - Rebuilt for Python 3.15 * Sat Jan 17 2026 Fedora Release Engineering - 3.6.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild * Mon Oct 06 2025 Packit - 3.6.1-1 - Update to 3.6.1 upstream release - Resolves: rhbz#2401912 * Fri Sep 19 2025 Python Maint - 3.6.0-5 - Rebuilt for Python 3.14.0rc3 bytecode * Fri Aug 15 2025 Python Maint - 3.6.0-4 - Rebuilt for Python 3.14.0rc2 bytecode * Fri Jul 25 2025 Fedora Release Engineering - 3.6.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild * Tue Jun 03 2025 Python Maint - 3.6.0-2 - Rebuilt for Python 3.14 * Tue Feb 18 2025 Packit - 3.6.0-1 - Update to 3.6.0 upstream release - Resolves: rhbz#2344606 * Mon Feb 10 2025 Elliott Sales de Andrade - 3.5.0-1 - Update to latest version (#2344606) * Mon Feb 10 2025 Elliott Sales de Andrade - 3.2.1-3 - Add Packit configuration * Sat Jan 18 2025 Fedora Release Engineering - 3.2.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild * Tue Aug 20 2024 Elliott Sales de Andrade - 3.2.1-1 - import rhbz#2296242 ## END: Generated by rpmautospec