Backport commit to fix sphinx with latest version of pygments
This commit is contained in:
parent
5bf9c06479
commit
976a71363d
2 changed files with 45 additions and 1 deletions
|
|
@ -25,7 +25,7 @@ Name: python-sphinx
|
|||
#global prerel ...
|
||||
%global upstream_version %{general_version}%{?prerel}
|
||||
Version: %{general_version}%{?prerel:~%{prerel}}
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Epoch: 1
|
||||
Summary: Python documentation generator
|
||||
|
||||
|
|
@ -42,6 +42,11 @@ Source0: %{pypi_source %{upstream_name} %{upstream_version}}
|
|||
# which causes that test to fail.
|
||||
Patch1: sphinx-test_theming.diff
|
||||
|
||||
# Latest version of python-pygments (2.7.1) breaks python-sphinx.
|
||||
# It is already fixed in upstream and this patch can be removed
|
||||
# once new version of python-sphinx is released.
|
||||
Patch2: https://github.com/sphinx-doc/sphinx/commit/85b24a2e88ea71edc728aff3b078d34c2f374f06.patch
|
||||
|
||||
BuildArch: noarch
|
||||
|
||||
BuildRequires: python%{python3_pkgversion}-devel
|
||||
|
|
@ -383,6 +388,9 @@ mkdir %{buildroot}%{python3_sitelib}/sphinxcontrib
|
|||
|
||||
|
||||
%changelog
|
||||
* Wed Oct 14 2020 Tomas Hrnciar <thrnciar@redhat.com> - 1:3.2.1-2
|
||||
- Backport commit to fix python-sphinx with python-pygments v2.7.1
|
||||
|
||||
* Tue Aug 18 2020 Miro Hrončok <mhroncok@redhat.com> - 1:3.2.1-1
|
||||
- Update to 3.2.1
|
||||
- Remove compatibility symbolic links from /usr/libexec/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue