!29 fix docutils version error

Merge pull request !29 from 桐小哥/openEuler-22.03-LTS-Next
This commit is contained in:
openeuler-ci-bot 2022-01-08 07:19:07 +00:00 committed by Gitee
commit 8900891851
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 30 additions and 1 deletions

View File

@ -0,0 +1,25 @@
From b9fafbb2cfea029d95c1758b272d3e305aeb3f82 Mon Sep 17 00:00:00 2001
From: shixuantong <shixuantong@huawei.com>
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

View File

@ -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 <shixuantong@huawei.com> - 4.3.1-2
- fix docutils version error
* Mon Dec 13 2021 shixuantong <shixuantong@huawei.com> - 4.3.1-1
- update version to 4.3.1