|
|
|
@@ -1,8 +1,9 @@
|
|
|
|
|
%bcond_without optional_tests
|
|
|
|
|
%global pypi_name sphinxcontrib-websupport
|
|
|
|
|
|
|
|
|
|
Name: python-%{pypi_name}
|
|
|
|
|
Version: 1.1.2
|
|
|
|
|
Release: 5%{?dist}
|
|
|
|
|
Version: 1.2.4
|
|
|
|
|
Release: 6%{?dist}
|
|
|
|
|
Summary: Sphinx API for Web Apps
|
|
|
|
|
|
|
|
|
|
License: BSD
|
|
|
|
@@ -20,17 +21,24 @@ Summary: %{summary}
|
|
|
|
|
BuildRequires: python3-devel
|
|
|
|
|
BuildRequires: python3-setuptools
|
|
|
|
|
BuildRequires: python3-jinja2
|
|
|
|
|
BuildRequires: python3-mock
|
|
|
|
|
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
|
|
|
|
|
BuildRequires: python3-xapian
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
# Undeclared but used runtime dependencies
|
|
|
|
|
# https://github.com/sphinx-doc/sphinxcontrib-websupport/pull/46
|
|
|
|
|
Requires: python3-jinja2
|
|
|
|
|
Requires: python3-six
|
|
|
|
|
Requires: python3-sphinx
|
|
|
|
|
Requires: python3-sphinxcontrib-serializinghtml >= 1.1.3
|
|
|
|
|
|
|
|
|
|
Recommends: python3-sqlalchemy
|
|
|
|
|
Recommends: python3-whoosh
|
|
|
|
|
|
|
|
|
@@ -50,11 +58,7 @@ rm -rf %{pypi_name}.egg-info
|
|
|
|
|
%py3_install
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
mkdir empty && pushd empty # don't run the tests from sources
|
|
|
|
|
export PYTHONPATH=%{buildroot}%{python3_sitelib}
|
|
|
|
|
%{__python3} -m pytest ../tests
|
|
|
|
|
popd
|
|
|
|
|
rmdir empty
|
|
|
|
|
%pytest -v -rs
|
|
|
|
|
|
|
|
|
|
%files -n python3-%{pypi_name}
|
|
|
|
|
%license LICENSE
|
|
|
|
@@ -65,6 +69,34 @@ rmdir empty
|
|
|
|
|
%{python3_sitelib}/sphinxcontrib_websupport-*.egg-info/
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.4-6
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 1.2.4-5
|
|
|
|
|
- Rebuilt for Python 3.10
|
|
|
|
|
|
|
|
|
|
* Thu Jun 03 2021 Python Maint <python-maint@redhat.com> - 1.2.4-4
|
|
|
|
|
- Bootstrap for Python 3.10
|
|
|
|
|
|
|
|
|
|
* Wed Mar 10 2021 Miro Hrončok <mhroncok@redhat.com> - 1.2.4-3
|
|
|
|
|
- Update runtime and buildtime dependencies
|
|
|
|
|
|
|
|
|
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.4-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Aug 18 2020 Miro Hrončok <mhroncok@redhat.com> - 1.2.4-1
|
|
|
|
|
- Update to 1.2.4
|
|
|
|
|
- Fixes rhbz#1800626
|
|
|
|
|
|
|
|
|
|
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.1-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Sat May 23 2020 Miro Hrončok <mhroncok@redhat.com> - 1.2.1-2
|
|
|
|
|
- Rebuilt for Python 3.9
|
|
|
|
|
|
|
|
|
|
* Tue Apr 14 2020 Javier Peña <jpena@redhat.com> - 1.2.1-1
|
|
|
|
|
- Update to upstream 1.2.1 (bz#1823520)
|
|
|
|
|
|
|
|
|
|
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.2-5
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|