Accepting request 235507 from home:Nijel:branches:devel:languages:python

Adjust openjpeg2 dependency for older distributions

The openjpeg2 package is not available in SLE12 and older, so let's build
Pillow there without it.

OBS-URL: https://build.opensuse.org/request/show/235507
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pillow?expand=0&rev=14
This commit is contained in:
Todd R 2014-05-27 12:54:18 +00:00 committed by Git OBS Bridge
parent 42479cf82a
commit 973f94461d
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue May 27 08:25:54 UTC 2014 - mcihar@suse.com
- Adjust openjpeg2 dependency for older distributions
-------------------------------------------------------------------
Thu May 8 14:22:57 UTC 2014 - hpj@urpla.net

View File

@ -34,6 +34,8 @@ BuildRequires: unzip
BuildRequires: libjpeg8-devel
BuildRequires: liblcms2-devel
BuildRequires: libwebp-devel
%endif
%if 0%{?suse_version} > 1315
BuildRequires: openjpeg2-devel
%endif
BuildRequires: freetype2-devel