Fix html docs build failure with Sphinx3 (rhbz#1823884)

This commit is contained in:
Charalampos Stratakis 2020-04-21 17:57:49 +02:00
parent 55447d7970
commit 999e81aeee
2 changed files with 21 additions and 1 deletions

View File

@ -0,0 +1,13 @@
diff --git a/docs/reference/plugins.rst b/docs/reference/plugins.rst
index 46f657f..cc0742f 100644
--- a/docs/reference/plugins.rst
+++ b/docs/reference/plugins.rst
@@ -229,7 +229,7 @@ Plugin reference
----------------------------
.. automodule:: PIL.PngImagePlugin
- :members: ChunkStream, PngImageFile, PngStream, getchunks, is_cid, putchunk
+ :members: ChunkStream, PngStream, getchunks, is_cid, putchunk
:show-inheritance:
.. autoclass:: PIL.PngImagePlugin.ChunkStream
:members:

View File

@ -8,7 +8,7 @@
Name: python-%{srcname}
Version: 7.1.1
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Python image processing library
# License: see http://www.pythonware.com/products/pil/license.htm
@ -16,6 +16,10 @@ License: MIT
URL: http://python-pillow.github.io/
Source0: https://github.com/python-pillow/Pillow/archive/%{version}/Pillow-%{version}.tar.gz
# Fix build failure with Sphinx 3 when creating html docs.
# Resolved upstream: https://github.com/python-pillow/Pillow/commit/f1f177ce800c5be7d06b0119b979c661c1bfbbb9
Patch0: fix-sphinx3-html-failure.patch
BuildRequires: freetype-devel
BuildRequires: gcc
BuildRequires: ghostscript
@ -182,6 +186,9 @@ popd
%changelog
* Tue Apr 21 2020 Charalampos Stratakis <cstratak@redhat.com> - 7.1.1-2
- Fix html docs build failure with Sphinx3 (rhbz#1823884)
* Thu Apr 02 2020 Sandro Mani <manisandro@gmail.com> - 7.1.1-1
- Update to 7.1.1