Relax docutils version requirement to <0.19
The version is loosened to make the theme works with docutils 0.18+ in Fedora. Upstream doesn't officially support it yet and the manual verification discovers issues that we consider non-blocking, raised upstream: https://github.com/readthedocs/sphinx_rtd_theme/issues/1302
This commit is contained in:
parent
88bb77fbb5
commit
cbe0a3155f
@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
Name: python-%{srcname}
|
Name: python-%{srcname}
|
||||||
Version: 1.0.0
|
Version: 1.0.0
|
||||||
Release: 6%{?dist}
|
Release: 7%{?dist}
|
||||||
Summary: Sphinx theme for readthedocs.org
|
Summary: Sphinx theme for readthedocs.org
|
||||||
|
|
||||||
License: MIT
|
License: MIT
|
||||||
@ -69,6 +69,11 @@ readthedocs.org.
|
|||||||
%prep
|
%prep
|
||||||
%autosetup -p1 -n %{srcname}-%{version}
|
%autosetup -p1 -n %{srcname}-%{version}
|
||||||
|
|
||||||
|
# Make theme work with docutils 0.18+ in Fedora 37+
|
||||||
|
# This is not officially supported yet, tracked upstram in:
|
||||||
|
# https://github.com/readthedocs/sphinx_rtd_theme/issues/1302
|
||||||
|
sed -i "s|docutils<0.18|docutils<0.19|" setup.py
|
||||||
|
|
||||||
# Use local objects.inv for intersphinx
|
# Use local objects.inv for intersphinx
|
||||||
sed -e "s|\('https://docs\.readthedocs\.io/en/stable/', \)None|\1'%{SOURCE1}'|" \
|
sed -e "s|\('https://docs\.readthedocs\.io/en/stable/', \)None|\1'%{SOURCE1}'|" \
|
||||||
-e "s|\('https://www\.sphinx-doc\.org/en/master/', \)None|\1'%{_docdir}/python-sphinx-doc/html/objects.inv'|" \
|
-e "s|\('https://www\.sphinx-doc\.org/en/master/', \)None|\1'%{_docdir}/python-sphinx-doc/html/objects.inv'|" \
|
||||||
@ -181,6 +186,9 @@ grep 'format("woff2\?")' \
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Jul 01 2022 Karolina Surma <ksurma@redhat.com> - 1.0.0-7
|
||||||
|
- Relax the python-docutils version requirement to <0.19
|
||||||
|
|
||||||
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 1.0.0-6
|
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 1.0.0-6
|
||||||
- Rebuilt for Python 3.11
|
- Rebuilt for Python 3.11
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user