From 5778f13ade6e58b7d476d009ce532774a15950f1 Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Thu, 15 Oct 2020 23:05:59 +0200 Subject: [PATCH] Update to 8.0.0 --- .gitignore | 1 + python-pillow.spec | 13 ++++++++++--- python-pillow_spinxwarn.patch | 12 ++++++++++++ sources | 2 +- 4 files changed, 24 insertions(+), 4 deletions(-) create mode 100644 python-pillow_spinxwarn.patch diff --git a/.gitignore b/.gitignore index 057e6be..0f54d15 100644 --- a/.gitignore +++ b/.gitignore @@ -50,3 +50,4 @@ /Pillow-7.1.1.tar.gz /Pillow-7.1.2.tar.gz /Pillow-7.2.0.tar.gz +/Pillow-8.0.0.tar.gz diff --git a/python-pillow.spec b/python-pillow.spec index dc4cd6a..a3eba14 100644 --- a/python-pillow.spec +++ b/python-pillow.spec @@ -7,8 +7,8 @@ %global with_docs 1 Name: python-%{srcname} -Version: 7.2.0 -Release: 2%{?dist} +Version: 8.0.0 +Release: 1%{?dist} Summary: Python image processing library # License: see http://www.pythonware.com/products/pil/license.htm @@ -16,6 +16,9 @@ License: MIT URL: http://python-pillow.github.io/ Source0: https://github.com/python-pillow/Pillow/archive/%{version}/Pillow-%{version}.tar.gz +# Don't error out if sphinx warnings occur +Patch0: python-pillow_spinxwarn.patch + BuildRequires: freetype-devel BuildRequires: gcc BuildRequires: ghostscript @@ -38,6 +41,7 @@ BuildRequires: python3-setuptools %if 0%{?with_docs} BuildRequires: python3-sphinx BuildRequires: python3-sphinx_rtd_theme +BuildRequires: python3-sphinx-removed-in %endif BuildRequires: python3-tkinter @@ -149,7 +153,7 @@ popd %files -n python3-%{srcname} -%doc README.rst CHANGES.rst +%doc README.md CHANGES.rst %license docs/COPYING %{python3_sitearch}/* # These are in subpackages @@ -182,6 +186,9 @@ popd %changelog +* Thu Oct 15 2020 Sandro Mani - 8.0.0-1 +- Update to 8.0.0 + * Wed Jul 29 2020 Fedora Release Engineering - 7.2.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild diff --git a/python-pillow_spinxwarn.patch b/python-pillow_spinxwarn.patch new file mode 100644 index 0000000..03b4dc9 --- /dev/null +++ b/python-pillow_spinxwarn.patch @@ -0,0 +1,12 @@ +diff -rupN Pillow-8.0.0/docs/Makefile Pillow-8.0.0-new/docs/Makefile +--- Pillow-8.0.0/docs/Makefile 2020-10-14 18:02:53.000000000 +0200 ++++ Pillow-8.0.0-new/docs/Makefile 2020-10-15 22:52:19.990771090 +0200 +@@ -42,7 +42,7 @@ clean: + -rm -rf $(BUILDDIR)/* + + html: +- $(SPHINXBUILD) -b html -W --keep-going $(ALLSPHINXOPTS) $(BUILDDIR)/html ++ $(SPHINXBUILD) -b html --keep-going $(ALLSPHINXOPTS) $(BUILDDIR)/html + @echo + @echo "Build finished. The HTML pages are in $(BUILDDIR)/html." + diff --git a/sources b/sources index 83689c9..45e453f 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (Pillow-7.2.0.tar.gz) = ac9c7c8f445b3f67f51bea13fad118d1612c45272c26d33bec286f3c2e198912b934378c4bf986b409aaa2a83d92ff176ee4d25f28701d61746c9cb86d0f412b +SHA512 (Pillow-8.0.0.tar.gz) = 4f126e39a8c4ff7cb83ed263e04e5921fe55d5167fca98b59ffecb95f994b2487b9b7ca83151c017d915f9d3cc05b71da44de7b9cfa418f1c70574234c1b9c83