From 1c876d21615a08c4b8de426be881de5ad020e960565b3bd10583ccb1d7672f2b Mon Sep 17 00:00:00 2001 From: Todd R Date: Mon, 27 Jul 2015 14:26:41 +0000 Subject: [PATCH] Accepting request 318901 from home:seife:OpenStack:Master fix build and dependencies for RHEL/CentOS 7, this time without update-alternatives hack OBS-URL: https://build.opensuse.org/request/show/318901 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pillow?expand=0&rev=36 --- python-Pillow.changes | 5 +++++ python-Pillow.spec | 6 ++++++ 2 files changed, 11 insertions(+) diff --git a/python-Pillow.changes b/python-Pillow.changes index 95c59c6..df4bf87 100644 --- a/python-Pillow.changes +++ b/python-Pillow.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Jul 27 08:55:33 UTC 2015 - seife+obs@b1-systems.com + +- fix build and dependencies for RHEL/CentOS 7 + ------------------------------------------------------------------- Sat Jun 13 19:02:32 UTC 2015 - dmueller@suse.com diff --git a/python-Pillow.spec b/python-Pillow.spec index 447abd6..89940a4 100644 --- a/python-Pillow.spec +++ b/python-Pillow.spec @@ -37,8 +37,14 @@ BuildRequires: libjpeg8-devel BuildRequires: liblcms2-devel BuildRequires: libwebp-devel %else +%if 0%{?rhel} > 6 +BuildRequires: lcms2-devel +BuildRequires: libjpeg-turbo-devel +BuildRequires: libwebp-devel +%else BuildRequires: python-unittest2 %endif +%endif %if 0%{?suse_version} > 1315 BuildRequires: openjpeg2-devel %endif