Fix rendering of double colons in Sphinx roles with docutils 0.18+
This commit is contained in:
parent
2fbf62bfba
commit
a9da38dc47
2 changed files with 38 additions and 1 deletions
|
|
@ -28,7 +28,7 @@ Name: python-sphinx
|
|||
#global prerel ...
|
||||
%global upstream_version %{general_version}%{?prerel}
|
||||
Version: %{general_version}%{?prerel:~%{prerel}}
|
||||
Release: 2%{?dist}
|
||||
Release: 3%{?dist}
|
||||
Epoch: 1
|
||||
Summary: Python documentation generator
|
||||
|
||||
|
|
@ -45,6 +45,12 @@ Source0: %{pypi_source %{upstream_name} %{upstream_version}}
|
|||
# which causes that test to fail.
|
||||
Patch1: sphinx-test_theming.diff
|
||||
|
||||
# Fix double colon rendering in Sphinx roles
|
||||
# This was supposed to get to Sphinx 5.0.3 but it was never released
|
||||
# Backporting per request: https://bugzilla.redhat.com/show_bug.cgi?id=2166116
|
||||
# Upstream: https://github.com/sphinx-doc/sphinx/issues/10594
|
||||
Patch2: Fix-double-colons-with-docutils-0.18.patch
|
||||
|
||||
BuildArch: noarch
|
||||
|
||||
BuildRequires: make
|
||||
|
|
@ -364,6 +370,10 @@ mkdir %{buildroot}%{python3_sitelib}/sphinxcontrib
|
|||
|
||||
|
||||
%changelog
|
||||
* Wed Feb 01 2023 Karolina Surma <ksurma@redhat.com> - 1:5.0.2-3
|
||||
- Backport a fix for rendering double colons in Sphinx roles
|
||||
- Fixes: rhbz#2166116
|
||||
|
||||
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1:5.0.2-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue