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