From 29c0973a6bf1e54ddf088294c2ed8b8d727d0358 Mon Sep 17 00:00:00 2001 From: shixuantong Date: Thu, 6 Jan 2022 20:36:01 +0800 Subject: [PATCH] fix docutils version error --- openEuler-fix-docutils-version-error.patch | 25 ++++++++++++++++++++++ python-sphinx.spec | 6 +++++- 2 files changed, 30 insertions(+), 1 deletion(-) create mode 100644 openEuler-fix-docutils-version-error.patch diff --git a/openEuler-fix-docutils-version-error.patch b/openEuler-fix-docutils-version-error.patch new file mode 100644 index 0000000..ce07df3 --- /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 0c60593..2c11f00 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 -- Gitee