From 39012210972ef078aff0f73f924d1e0b3ed59047 Mon Sep 17 00:00:00 2001 From: wu-leilei Date: Fri, 15 Sep 2023 10:14:50 +0800 Subject: [PATCH] Support for docutils-0.20.x --- Support-for-sphinx-0.7.x-and-docutils-0.20.x.patch | 2 +- python-sphinx_rtd_theme.spec | 7 +++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/Support-for-sphinx-0.7.x-and-docutils-0.20.x.patch b/Support-for-sphinx-0.7.x-and-docutils-0.20.x.patch index bc1d0f7..d4f09b5 100644 --- a/Support-for-sphinx-0.7.x-and-docutils-0.20.x.patch +++ b/Support-for-sphinx-0.7.x-and-docutils-0.20.x.patch @@ -9,7 +9,7 @@ index afd56e2..01e0e35 100644 - sphinx >=1.6,<6 - docutils <0.18 + sphinx >=1.6,<8 -+ docutils <=0.20 ++ docutils <=0.21 tests_require = pytest diff --git a/python-sphinx_rtd_theme.spec b/python-sphinx_rtd_theme.spec index eecd32d..d040fb3 100644 --- a/python-sphinx_rtd_theme.spec +++ b/python-sphinx_rtd_theme.spec @@ -1,7 +1,7 @@ Name: python-sphinx_rtd_theme Summary: Sphinx theme for readthedocs.org Version: 1.1.1 -Release: 2 +Release: 3 License: MIT URL: https://github.com/snide/sphinx_rtd_theme Source0: https://files.pythonhosted.org/packages/source/s/sphinx_rtd_theme/sphinx_rtd_theme-%{version}.tar.gz @@ -10,7 +10,7 @@ Patch0: Support-for-sphinx-0.7.x-and-docutils-0.20.x.patch BuildArch: noarch -BuildRequires: python3-devel python3-setuptools python3-sphinx +BuildRequires: python3-devel python3-setuptools %description This Sphinx theme was designed to provide a great reader experience for documentation users @@ -41,6 +41,9 @@ with any sphinx project. you can find a working demo of the theme in the theme d %{python3_sitelib}/sphinx_rtd_theme* %changelog +* Fri Sep 15 2023 wulei 1.1.1-3 +- Support for docutils-0.20.x + * Fri Jul 28 2023 xu_ping <707078654@qq.com> 1.1.1-2 - Support for sphinx-0.7.x and docutils-0.20.x