[python-pillow] Update to 2.5.0
Sandro Mani
smani at fedoraproject.org
Wed Jul 2 07:37:55 UTC 2014
commit e9b7f540c4dede99921f491aff5ed1078b34d82a
Author: Sandro Mani <manisandro at gmail.com>
Date: Wed Jul 2 09:33:10 2014 +0200
Update to 2.5.0
.gitignore | 1 +
python-imaging-Pillow_ghostscript.patch | 89 -------------
python-pillow.spec | 25 +---
python-pillow_openjpeg-2.1.0.patch | 213 -------------------------------
python-pillow_tmpsuffix.patch | 16 ---
sources | 2 +-
6 files changed, 9 insertions(+), 337 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e5bd4a8..80ae596 100644
--- a/.gitignore
+++ b/.gitignore
@@ -9,3 +9,4 @@
/python-imaging-Pillow-2.3.0-0-gb1b88cf.tar.gz
/python-imaging-Pillow-2.3.1-0-gb8d4895.tar.gz
/python-imaging-Pillow-2.4.0-0-g72de37c.tar.gz
+/python-pillow-Pillow-2.5.0-0-g80d6137.tar.gz
diff --git a/python-pillow.spec b/python-pillow.spec
index 60898cf..2077fa2 100644
--- a/python-pillow.spec
+++ b/python-pillow.spec
@@ -17,7 +17,7 @@
# Refer to the comment for Source0 below on how to obtain the source tarball
# The saved file has format python-imaging-Pillow-$version-$ahead-g$shortcommit.tar.gz
-%global commit 72de37caada5d9ff7c657ce5f4ad6f8a6a3870f0
+%global commit 80d6137c860b9322572ee1390514df1975acb2e7
%global shortcommit %(c=%{commit}; echo ${c:0:7})
%global ahead 0
@@ -27,8 +27,8 @@
%endif
Name: python-pillow
-Version: 2.4.0
-Release: 11%{?snap}%{?dist}
+Version: 2.5.0
+Release: 1%{?snap}%{?dist}
Summary: Python image processing library
# License: see http://www.pythonware.com/products/pil/license.htm
@@ -37,14 +37,7 @@ URL: http://python-pillow.github.io/
# Obtain the tarball for a certain commit via:
# wget --content-disposition https://github.com/python-pillow/Pillow/tarball/$commit
-Source0: https://github.com/python-pillow/Pillow/tarball/%{commit}/python-imaging-Pillow-%{version}-%{ahead}-g%{shortcommit}.tar.gz
-
-# Fix ghostscript detection (upstream commit 82d7524add60d020a339503efe0559a11f89e238)
-Patch0: python-imaging-Pillow_ghostscript.patch
-# Have the tempfile use a suffix with a dot
-Patch1: python-pillow_tmpsuffix.patch
-# openjpeg-2.1.0 compatibility
-Patch2: python-pillow_openjpeg-2.1.0.patch
+Source0: https://github.com/python-pillow/Pillow/tarball/%{commit}/python-pillow-Pillow-%{version}-%{ahead}-g%{shortcommit}.tar.gz
BuildRequires: tk-devel
BuildRequires: libjpeg-devel
@@ -219,12 +212,7 @@ PIL image wrapper for Qt.
%prep
%setup -q -n python-imaging-Pillow-%{shortcommit}
-%patch0 -p1
-%patch1 -p1
-%patch2 -p1
-# Running test fails, see #921706#c38
-rm -f Tests/test_file_eps.py
# jpeg2k tests fail on big endians, see #1100762
%ifarch ppc ppc64 ppc64p7 s390 s390x
rm -f Tests/test_file_jpeg2k.py
@@ -305,7 +293,6 @@ cp -R $PWD/Tests $PWD/build/%py2_libbuilddir/Tests
cp -R $PWD/selftest.py $PWD/build/%py2_libbuilddir/selftest.py
pushd build/%py2_libbuilddir
PYTHONPATH=$PWD %{__python} selftest.py
-PYTHONPATH=$PWD %{__python} Tests/run.py
popd
%if %{with_python3}
@@ -316,7 +303,6 @@ cp -R $PWD/Tests $PWD/build/%py3_libbuilddir/Tests
cp -R $PWD/selftest.py $PWD/build/%py3_libbuilddir/selftest.py
pushd build/%py3_libbuilddir
PYTHONPATH=$PWD %{__python3} selftest.py
-PYTHONPATH=$PWD %{__python3} Tests/run.py
popd
popd
%endif
@@ -388,6 +374,9 @@ popd
%endif
%changelog
+* Wed Jul 02 2014 Sandro Mani <manisandro at gmail.com> - 2.5.0-1
+- Update to 2.5.0
+
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.4.0-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
diff --git a/sources b/sources
index c25ab4a..c70913f 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-3a33d124d7c25d39ee8b002a8e75ad09 python-imaging-Pillow-2.4.0-0-g72de37c.tar.gz
+2c14210e5e2b4ddbebde81a002bb37e6 python-pillow-Pillow-2.5.0-0-g80d6137.tar.gz
More information about the scm-commits
mailing list