[python-pillow] Build without webp support on s390* archs

Roman Rakus rrakus at fedoraproject.org
Mon May 13 20:14:59 UTC 2013


commit 923f341e9547d58f0c4f8cc4596f65c938e740f4
Author: Roman Rakus <rrakus at redhat.com>
Date:   Mon May 13 22:14:19 2013 +0200

    Build without webp support on s390* archs
    
    Resolves: rhbz#962059
    
    Signed-off-by: Roman Rakus <rrakus at redhat.com>

 python-pillow.spec |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)
---
diff --git a/python-pillow.spec b/python-pillow.spec
index 71c4405..0f590bd 100644
--- a/python-pillow.spec
+++ b/python-pillow.spec
@@ -23,7 +23,7 @@
 
 Name:           python-pillow
 Version:        2.0.0
-Release:        9%{?snap}%{?dist}
+Release:        10%{?snap}%{?dist}
 Summary:        Python image processing library
 
 # License: see http://www.pythonware.com/products/pil/license.htm
@@ -49,7 +49,11 @@ BuildRequires:  zlib-devel
 BuildRequires:  freetype-devel
 BuildRequires:  lcms-devel
 BuildRequires:  sane-backends-devel
+# Don't build with webp support on s390* archs
+# see bug #962091
+%ifnarch s390 s390x
 BuildRequires:  libwebp-devel
+%endif
 BuildRequires:  PyQt4
 BuildRequires:  numpy
 
@@ -359,6 +363,10 @@ popd
 %endif
 
 %changelog
+* Mon May 13 2013 Roman Rakus <rrakus at redhat.com> - 2.0.0-10
+- Build without webp support on s390* archs
+  Resolves: rhbz#962059
+
 * Sat May 11 2013 Roman Rakus <rrakus at redhat.com> - 2.0.0-9.gitd1c6db8
 - Conditionaly disable build of python3 parts on RHEL system
 


More information about the scm-commits mailing list