diff --git a/.gitignore b/.gitignore index b38be31..ae81f60 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,4 @@ /sphinxcontrib-websupport-1.1.2.tar.gz /sphinxcontrib-websupport-1.2.1.tar.gz /sphinxcontrib-websupport-1.2.4.tar.gz +/sphinxcontrib_websupport-1.2.7.tar.gz diff --git a/python-sphinxcontrib-websupport.spec b/python-sphinxcontrib-websupport.spec index bac9087..c8abd3d 100644 --- a/python-sphinxcontrib-websupport.spec +++ b/python-sphinxcontrib-websupport.spec @@ -2,13 +2,13 @@ %global pypi_name sphinxcontrib-websupport Name: python-%{pypi_name} -Version: 1.2.4 -Release: 16%{?dist} +Version: 1.2.7 +Release: 1%{?dist} Summary: Sphinx API for Web Apps License: BSD URL: http://sphinx-doc.org/ -Source0: %{pypi_source} +Source0: %{pypi_source sphinxcontrib_websupport} BuildArch: noarch %description @@ -19,56 +19,40 @@ documentation into your Web application. Summary: %{summary} %{?python_provide:%python_provide python3-%{pypi_name}} BuildRequires: python3-devel -BuildRequires: python3-setuptools -BuildRequires: python3-jinja2 -BuildRequires: python3-pytest -BuildRequires: python3-six -BuildRequires: python3-sphinx -BuildRequires: python3-sphinxcontrib-serializinghtml >= 1.1.3 %if %{with optional_tests} -# Optional tests deps, can be individually skipped, -# but sqlalchemy is required for both whoosh and xapian tests -BuildRequires: python3-sqlalchemy -BuildRequires: python3-whoosh +# Optional tests dep, undeclared upstream, can be skipped if needed BuildRequires: python3-xapian %endif -# Undeclared but used runtime dependencies -# https://github.com/sphinx-doc/sphinxcontrib-websupport/pull/46 -Requires: python3-jinja2 -Requires: python3-sphinx - -Recommends: python3-sqlalchemy -Recommends: python3-whoosh - %description -n python3-%{pypi_name} sphinxcontrib-websupport provides a Python API to easily integrate Sphinx documentation into your Web application. %prep -%autosetup -n %{pypi_name}-%{version} -# Remove bundled egg-info -rm -rf %{pypi_name}.egg-info +%autosetup -n sphinxcontrib_websupport-%{version} + +%generate_buildrequires +%pyproject_buildrequires -t %build -%py3_build +%pyproject_wheel %install -%py3_install +%pyproject_install +%pyproject_save_files sphinxcontrib %check -%pytest -v -rs +%tox -%files -n python3-%{pypi_name} +%files -n python3-%{pypi_name} -f %{pyproject_files} %license LICENSE %doc README.rst -%dir %{python3_sitelib}/sphinxcontrib -%{python3_sitelib}/sphinxcontrib/websupport/ -%{python3_sitelib}/sphinxcontrib_websupport-*.pth -%{python3_sitelib}/sphinxcontrib_websupport-*.egg-info/ %changelog +* Tue Jan 30 2024 Karolina Surma - 1.2.7-1 +- Update to 1.2.7 + * Fri Jan 26 2024 Fedora Release Engineering - 1.2.4-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild diff --git a/sources b/sources index 9cb9aaf..24ff811 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (sphinxcontrib-websupport-1.2.4.tar.gz) = d1ccfb6a9ecfa6adbdf2298f4ded345cacefbc5a450b8dafc6faadbcd0dd79a8dbefcab4d1cedf34c65fc271aab754392bea8ab8ae82852323784a9e1717914c +SHA512 (sphinxcontrib_websupport-1.2.7.tar.gz) = daa5ecf6fd3fb6df6a9a3b60668d42d50d93454dc3c2703a1dd43d75220b326e90c5e0ae2cca27afe62e41ae03e7144e6b4cfe70096b857af74c8981fadba9ca