diff --git a/openEuler-fix-docutils-version-error.patch b/openEuler-fix-docutils-version-error.patch new file mode 100644 index 0000000000000000000000000000000000000000..ce07df34ac318230e636f006d542881c38f39fd8 --- /dev/null +++ b/openEuler-fix-docutils-version-error.patch @@ -0,0 +1,25 @@ +From b9fafbb2cfea029d95c1758b272d3e305aeb3f82 Mon Sep 17 00:00:00 2001 +From: shixuantong +Date: Thu, 30 Dec 2021 20:25:42 +0800 +Subject: [PATCH] fix docutils version error + +--- + setup.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/setup.py b/setup.py +index 3dbc874..ee43d16 100644 +--- a/setup.py ++++ b/setup.py +@@ -23,7 +23,7 @@ install_requires = [ + 'sphinxcontrib-qthelp', + 'Jinja2>=2.3', + 'Pygments>=2.0', +- 'docutils>=0.14,<0.18', ++ 'docutils>=0.14,<=0.18', + 'snowballstemmer>=1.1', + 'babel>=1.3', + 'alabaster>=0.7,<0.8', +-- +2.13.7 + diff --git a/python-sphinx.spec b/python-sphinx.spec index 0c60593781304dc8e8b64a2fe9e43029f28ebc69..2c11f004670db6f7671e7ca21e34a39d5668bdc9 100644 --- a/python-sphinx.spec +++ b/python-sphinx.spec @@ -1,12 +1,13 @@ Name: python-sphinx Version: 4.3.1 -Release: 1 +Release: 2 Epoch: 1 Summary: Python documentation generator License: BSD and MIT URL: http://sphinx-doc.org/ Source0: https://files.pythonhosted.org/packages/source/S/Sphinx/Sphinx-%{version}.tar.gz Patch1: sphinx-test_theming.diff +Patch9000: openEuler-fix-docutils-version-error.patch BuildArch: noarch @@ -225,6 +226,9 @@ export PATH=%{buildroot}%{_bindir}:$PATH %{_mandir}/man1/* %changelog +* Thu Jan 06 2022 shixuantong - 4.3.1-2 +- fix docutils version error + * Mon Dec 13 2021 shixuantong - 4.3.1-1 - update version to 4.3.1