|
|
|
@ -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 <manisandro@gmail.com> - 6.0.0-1
|
|
|
|
|
- Update to 6.0.0
|
|
|
|
|
|
|
|
|
|
* Sun Mar 10 2019 Sandro Mani <manisandro@gmail.com> - 5.4.1-4
|
|
|
|
|
- Drop python2-pillow-doc
|
|
|
|
|
|
|
|
|
|