Remove a dependency on html5lib
Resolves: rhbz#1945182
This commit is contained in:
parent
f3d149b2cf
commit
087aad15e6
@ -28,7 +28,7 @@ Name: python-sphinx
|
|||||||
#global prerel ...
|
#global prerel ...
|
||||||
%global upstream_version %{general_version}%{?prerel}
|
%global upstream_version %{general_version}%{?prerel}
|
||||||
Version: %{general_version}%{?prerel:~%{prerel}}
|
Version: %{general_version}%{?prerel:~%{prerel}}
|
||||||
Release: 2%{?dist}
|
Release: 3%{?dist}
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
Summary: Python documentation generator
|
Summary: Python documentation generator
|
||||||
|
|
||||||
@ -253,6 +253,8 @@ rm tests/test_ext_imgconverter.py
|
|||||||
sed -i '/pytest-cov/d' setup.py
|
sed -i '/pytest-cov/d' setup.py
|
||||||
# Not needed on recent Pythons, https://github.com/sphinx-doc/sphinx/pull/8483
|
# Not needed on recent Pythons, https://github.com/sphinx-doc/sphinx/pull/8483
|
||||||
sed -i '/typed_ast/d' setup.py
|
sed -i '/typed_ast/d' setup.py
|
||||||
|
# unwanted dependency in RHEL, https://bugzilla.redhat.com/show_bug.cgi?id=1945182
|
||||||
|
sed -i '/html5lib/d' setup.py
|
||||||
|
|
||||||
|
|
||||||
%generate_buildrequires
|
%generate_buildrequires
|
||||||
@ -333,7 +335,12 @@ mkdir %{buildroot}%{python3_sitelib}/sphinxcontrib
|
|||||||
%if %{with tests}
|
%if %{with tests}
|
||||||
%check
|
%check
|
||||||
# Currently, all linkcheck tests and test_latex_images need internet
|
# Currently, all linkcheck tests and test_latex_images need internet
|
||||||
|
# Ignored files use html5lib
|
||||||
%pytest \
|
%pytest \
|
||||||
|
--ignore tests/test_build_html.py \
|
||||||
|
--ignore tests/test_build_latex.py \
|
||||||
|
--ignore tests/test_build_texinfo.py \
|
||||||
|
--ignore tests/test_domain_std.py \
|
||||||
%if %{without internet}
|
%if %{without internet}
|
||||||
-k "not linkcheck and not test_latex_images" \
|
-k "not linkcheck and not test_latex_images" \
|
||||||
%endif
|
%endif
|
||||||
@ -364,6 +371,10 @@ mkdir %{buildroot}%{python3_sitelib}/sphinxcontrib
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Mar 31 2021 Miro Hrončok <mhroncok@redhat.com> - 1:3.4.3-3
|
||||||
|
- Remove a dependency on html5lib
|
||||||
|
Resolves: rhbz#1945182
|
||||||
|
|
||||||
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1:3.4.3-2
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1:3.4.3-2
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user