14
0
forked from pool/python-Sphinx

- add sphinx-pygments-compat.patch (fix tests with newer pygments)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Sphinx?expand=0&rev=162
This commit is contained in:
2020-09-28 13:45:58 +00:00
committed by Git OBS Bridge
parent cf25008762
commit dfe2d65a0e
3 changed files with 44 additions and 0 deletions

View File

@@ -38,6 +38,8 @@ Source: https://files.pythonhosted.org/packages/source/S/Sphinx/Sphinx-%
Source1: https://files.pythonhosted.org/packages/source/S/Sphinx/Sphinx-%{version}.tar.gz.asc
Source2: python3.inv
Source99: python-Sphinx-rpmlintrc
# PATCH-FIX-UPSTREAM: https://patch-diff.githubusercontent.com/raw/sphinx-doc/sphinx/pull/8205.patch
Patch0: sphinx-pygments-compat.patch
BuildRequires: %{python_module base}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
@@ -217,6 +219,7 @@ This package contains the HTML documentation for Sphinx.
%prep
%setup -q -n Sphinx-%{version}
%autopatch -p1
sed -i 's/\r$//' sphinx/themes/basic/static/jquery.js # Fix wrong end-of-line encoding