From e91194e0eeb28cac4abefa24a2b81f10de4a113c Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Tue, 2 Apr 2019 14:15:18 +0200 Subject: [PATCH] Update to 6.0.0 --- .gitignore | 1 + python-pillow.spec | 16 ++++++++++++++-- sources | 2 +- 3 files changed, 16 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 42cb62e..8b8c609 100644 --- a/.gitignore +++ b/.gitignore @@ -41,3 +41,4 @@ /Pillow-5.2.0.tar.gz /Pillow-5.3.0.tar.gz /Pillow-5.4.1.tar.gz +/Pillow-6.0.0.tar.gz diff --git a/python-pillow.spec b/python-pillow.spec index 7a990c7..141d7a3 100644 --- a/python-pillow.spec +++ b/python-pillow.spec @@ -13,8 +13,8 @@ %global with_docs 1 Name: python-%{srcname} -Version: 5.4.1 -Release: 4%{?dist} +Version: 6.0.0 +Release: 1%{?dist} Summary: Python image processing library # License: see http://www.pythonware.com/products/pil/license.htm @@ -28,6 +28,7 @@ BuildRequires: ghostscript BuildRequires: lcms2-devel BuildRequires: libimagequant-devel BuildRequires: libjpeg-devel +BuildRequires: libraqm-devel BuildRequires: libtiff-devel BuildRequires: libwebp-devel BuildRequires: openjpeg2-devel @@ -229,7 +230,11 @@ ln -s $PWD/Images $PWD/build/%py2_libbuilddir/Images cp -R $PWD/Tests $PWD/build/%py2_libbuilddir/Tests cp -R $PWD/selftest.py $PWD/build/%py2_libbuilddir/selftest.py pushd build/%py2_libbuilddir +%ifarch s390x +PYTHONPATH=$PWD %{__python2} selftest.py || : +%else PYTHONPATH=$PWD %{__python2} selftest.py +%endif popd %if 0%{?with_python3} @@ -238,7 +243,11 @@ ln -s $PWD/Images $PWD/build/%py3_libbuilddir/Images cp -R $PWD/Tests $PWD/build/%py3_libbuilddir/Tests cp -R $PWD/selftest.py $PWD/build/%py3_libbuilddir/selftest.py pushd build/%py3_libbuilddir +%ifarch s390x +PYTHONPATH=$PWD %{__python3} selftest.py || : +%else PYTHONPATH=$PWD %{__python3} selftest.py +%endif popd %endif @@ -300,6 +309,9 @@ popd %changelog +* Tue Apr 02 2019 Sandro Mani - 6.0.0-1 +- Update to 6.0.0 + * Sun Mar 10 2019 Sandro Mani - 5.4.1-4 - Drop python2-pillow-doc diff --git a/sources b/sources index 2d7df53..c0db099 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (Pillow-5.4.1.tar.gz) = 20b75ab50df7e9545c76d66ad585922d1f86fbcf8df9d2566882ab8929c3122573b9ec622766523ec46f5e7a98740cc78ff192e3e8f08ab0b77a7f2b033a7f62 +SHA512 (Pillow-6.0.0.tar.gz) = c5fbe1432d576fe4a70a15fa7a70a446ccbcb247fbd4c3605917fa26a6345eb9319c0153dba7637d521c358963f2f06f525219aa1af1502da2565d54dceef4c5