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 new file mode 100644 index 0000000000000000000000000000000000000000..d4f09b589587337bdfdb605db90fc5c81eba7210 --- /dev/null +++ b/Support-for-sphinx-0.7.x-and-docutils-0.20.x.patch @@ -0,0 +1,15 @@ +diff --git a/setup.cfg b/setup.cfg +index afd56e2..01e0e35 100644 +--- a/setup.cfg ++++ b/setup.cfg +@@ -44,8 +44,8 @@ zip_safe = False + packages = sphinx_rtd_theme + python_requires = >=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.* + install_requires = +- sphinx >=1.6,<6 +- docutils <0.18 ++ sphinx >=1.6,<8 ++ docutils <=0.21 + tests_require = + pytest + diff --git a/python-sphinx_rtd_theme.spec b/python-sphinx_rtd_theme.spec index 2acba8502af2bc551aca556b7498818aff5ed52b..3dfc79915533ba82cd7f399aaeacde4092719fac 100644 --- a/python-sphinx_rtd_theme.spec +++ b/python-sphinx_rtd_theme.spec @@ -1,11 +1,13 @@ Name: python-sphinx_rtd_theme Summary: Sphinx theme for readthedocs.org -Version: 2.0.0 -Release: 1 +Version: 1.1.1 +Release: 4 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 +Patch0: Support-for-sphinx-0.7.x-and-docutils-0.20.x.patch + BuildArch: noarch BuildRequires: python3-devel python3-setuptools python3-sphinx @@ -39,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 +* Mon Apr 8 2024 huangxinhua 1.1.1-4 +- Back version to 1.1.1 + * Thu Mar 21 2024 yaoxin - 2.0.0-1 - Upgrade to 2.0.0 diff --git a/sphinx_rtd_theme-2.0.0.tar.gz b/sphinx_rtd_theme-1.1.1.tar.gz similarity index 53% rename from sphinx_rtd_theme-2.0.0.tar.gz rename to sphinx_rtd_theme-1.1.1.tar.gz index 39039c98144625509e230701052c872ef01d4e55..ec20358b4dbe7682e60d51fe6c559dc9b3302f88 100644 Binary files a/sphinx_rtd_theme-2.0.0.tar.gz and b/sphinx_rtd_theme-1.1.1.tar.gz differ