Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
24524eb160 | ||
|
|
4ecce9f8e5 | ||
|
|
b440730c4f | ||
|
|
2c53ee3603 | ||
|
|
5df9f91cbe | ||
|
|
121c463aac | ||
|
|
5d8cd6c44c | ||
|
|
f24848b860 |
@@ -1,8 +1,9 @@
|
|||||||
|
%bcond_without optional_tests
|
||||||
%global pypi_name sphinxcontrib-websupport
|
%global pypi_name sphinxcontrib-websupport
|
||||||
|
|
||||||
Name: python-%{pypi_name}
|
Name: python-%{pypi_name}
|
||||||
Version: 1.2.4
|
Version: 1.2.4
|
||||||
Release: 1%{?dist}
|
Release: 6%{?dist}
|
||||||
Summary: Sphinx API for Web Apps
|
Summary: Sphinx API for Web Apps
|
||||||
|
|
||||||
License: BSD
|
License: BSD
|
||||||
@@ -20,17 +21,24 @@ Summary: %{summary}
|
|||||||
BuildRequires: python3-devel
|
BuildRequires: python3-devel
|
||||||
BuildRequires: python3-setuptools
|
BuildRequires: python3-setuptools
|
||||||
BuildRequires: python3-jinja2
|
BuildRequires: python3-jinja2
|
||||||
BuildRequires: python3-mock
|
|
||||||
BuildRequires: python3-pytest
|
BuildRequires: python3-pytest
|
||||||
BuildRequires: python3-six
|
BuildRequires: python3-six
|
||||||
BuildRequires: python3-sphinx
|
BuildRequires: python3-sphinx
|
||||||
BuildRequires: python3-sphinxcontrib-serializinghtml >= 1.1.3
|
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-sqlalchemy
|
||||||
BuildRequires: python3-whoosh
|
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-jinja2
|
||||||
Requires: python3-six
|
|
||||||
Requires: python3-sphinx
|
Requires: python3-sphinx
|
||||||
Requires: python3-sphinxcontrib-serializinghtml >= 1.1.3
|
|
||||||
Recommends: python3-sqlalchemy
|
Recommends: python3-sqlalchemy
|
||||||
Recommends: python3-whoosh
|
Recommends: python3-whoosh
|
||||||
|
|
||||||
@@ -50,11 +58,7 @@ rm -rf %{pypi_name}.egg-info
|
|||||||
%py3_install
|
%py3_install
|
||||||
|
|
||||||
%check
|
%check
|
||||||
mkdir empty && pushd empty # don't run the tests from sources
|
%pytest -v -rs
|
||||||
export PYTHONPATH=%{buildroot}%{python3_sitelib}
|
|
||||||
%{__python3} -m pytest ../tests
|
|
||||||
popd
|
|
||||||
rmdir empty
|
|
||||||
|
|
||||||
%files -n python3-%{pypi_name}
|
%files -n python3-%{pypi_name}
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
@@ -65,6 +69,21 @@ rmdir empty
|
|||||||
%{python3_sitelib}/sphinxcontrib_websupport-*.egg-info/
|
%{python3_sitelib}/sphinxcontrib_websupport-*.egg-info/
|
||||||
|
|
||||||
%changelog
|
%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
|
* Tue Aug 18 2020 Miro Hrončok <mhroncok@redhat.com> - 1.2.4-1
|
||||||
- Update to 1.2.4
|
- Update to 1.2.4
|
||||||
- Fixes rhbz#1800626
|
- Fixes rhbz#1800626
|
||||||
|
|||||||
Reference in New Issue
Block a user