%global srcname sphinxcontrib-openapi %global _description %{expand: Sphinx extension to generate APIs docs from OpenAPI (fka Swagger) spec. It depends on sphinxcontrib-httpdomain that provides an HTTP domain for describing RESTful HTTP APIs, so we don’t need to reinvent the wheel.} Name: python-%{srcname} Version: 0.7.0 Release: 11%{?dist} Summary: OpenAPI spec renderer for Sphinx # There are test files under the ASL 2.0 license, but we don't ship them in the built RPM License: BSD URL: https://sphinxcontrib-openapi.readthedocs.io/ Source0: %pypi_source BuildArch: noarch %description %_description %package -n python3-%{srcname} Summary: %{summary} BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-setuptools_scm BuildRequires: python3-pytest BuildRequires: python3-sphinx BuildRequires: python3-pyyaml BuildRequires: python3-jsonschema BuildRequires: python3-sphinxcontrib-httpdomain BuildRequires: python3-m2r BuildRequires: python3-responses %{?python_provide:%python_provide python3-%{srcname}} %description -n python3-%{srcname} %_description %prep %autosetup -n %{srcname}-%{version} %build %py3_build %install %py3_install %check %pytest tests/ --strict %files -n python3-%{srcname} %license LICENSE %doc README.rst %{python3_sitelib}/sphinxcontrib/openapi* %{python3_sitelib}/sphinxcontrib_openapi* %changelog * Fri Jan 26 2024 Fedora Release Engineering - 0.7.0-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Jan 22 2024 Fedora Release Engineering - 0.7.0-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jul 21 2023 Fedora Release Engineering - 0.7.0-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Wed Jul 12 2023 Python Maint - 0.7.0-8 - Rebuilt for Python 3.12 * Fri Jan 20 2023 Fedora Release Engineering - 0.7.0-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Fri Jul 22 2022 Fedora Release Engineering - 0.7.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Tue Jun 14 2022 Python Maint - 0.7.0-5 - Rebuilt for Python 3.11 * Fri Jan 21 2022 Fedora Release Engineering - 0.7.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jul 23 2021 Fedora Release Engineering - 0.7.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Jun 04 2021 Python Maint - 0.7.0-2 - Rebuilt for Python 3.10 * Tue Feb 16 2021 Fabien Boucher - 0.7.0-1 - Bump to upstream 0.7.0. * Wed Jan 27 2021 Fedora Release Engineering - 0.6.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Jul 29 2020 Fedora Release Engineering - 0.6.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue May 26 2020 Miro Hrončok - 0.6.0-2 - Rebuilt for Python 3.9 * Tue Mar 10 2020 Fabien Boucher - 0.6.0-1 - Adapt packaging for Rawhide from Software Factory packaging. * Wed Aug 14 2019 Tristan Cacqueray - 0.4.0-1 - Initial packaging