From 087aad15e681fcf3547fbf80352469893f341966 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Wed, 31 Mar 2021 16:58:26 +0200 Subject: [PATCH] Remove a dependency on html5lib Resolves: rhbz#1945182 --- python-sphinx.spec | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/python-sphinx.spec b/python-sphinx.spec index c10729a..784b238 100644 --- a/python-sphinx.spec +++ b/python-sphinx.spec @@ -28,7 +28,7 @@ Name: python-sphinx #global prerel ... %global upstream_version %{general_version}%{?prerel} Version: %{general_version}%{?prerel:~%{prerel}} -Release: 2%{?dist} +Release: 3%{?dist} Epoch: 1 Summary: Python documentation generator @@ -253,6 +253,8 @@ rm tests/test_ext_imgconverter.py sed -i '/pytest-cov/d' setup.py # Not needed on recent Pythons, https://github.com/sphinx-doc/sphinx/pull/8483 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 @@ -333,7 +335,12 @@ mkdir %{buildroot}%{python3_sitelib}/sphinxcontrib %if %{with tests} %check # Currently, all linkcheck tests and test_latex_images need internet +# Ignored files use html5lib %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} -k "not linkcheck and not test_latex_images" \ %endif @@ -364,6 +371,10 @@ mkdir %{buildroot}%{python3_sitelib}/sphinxcontrib %changelog +* Wed Mar 31 2021 Miro HronĨok - 1:3.4.3-3 +- Remove a dependency on html5lib +Resolves: rhbz#1945182 + * Wed Jan 27 2021 Fedora Release Engineering - 1:3.4.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild