From 66fb3a3917097c3fa2170ce7735463b12db8f16665b47dec8645da5069fc9abd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Fri, 5 Apr 2019 11:00:31 +0000 Subject: [PATCH] - Add dependency on libimagequant - Fix fdupes OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pillow?expand=0&rev=81 --- python-Pillow.changes | 2 ++ python-Pillow.spec | 18 ++++++++++-------- 2 files changed, 12 insertions(+), 8 deletions(-) diff --git a/python-Pillow.changes b/python-Pillow.changes index 71e2a03..b03e012 100644 --- a/python-Pillow.changes +++ b/python-Pillow.changes @@ -62,6 +62,8 @@ Fri Apr 5 10:47:55 UTC 2019 - Tomáš Chvátal * Remove deprecated ImageOps undocumented functions #3599 [hugovk] * Depends: Update libwebp to 1.0.2 #3602 [radarhere] * Detect MIME types #3525 [radarhere] +- Add dependency on libimagequant +- Fix fdupes ------------------------------------------------------------------- Sun Jan 6 22:24:28 UTC 2019 - Arun Persaud diff --git a/python-Pillow.spec b/python-Pillow.spec index 4ae6ecf..f6479a8 100644 --- a/python-Pillow.spec +++ b/python-Pillow.spec @@ -37,23 +37,25 @@ BuildRequires: %{python_module pytest-runner} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: fdupes -BuildRequires: freetype2-devel BuildRequires: libimagequant-devel -BuildRequires: libjpeg8-devel -BuildRequires: liblcms2-devel -BuildRequires: libtiff-devel -BuildRequires: libwebp-devel +BuildRequires: pkgconfig BuildRequires: python-rpm-macros BuildRequires: tix -BuildRequires: tk-devel BuildRequires: unzip -BuildRequires: zlib-devel +BuildRequires: pkgconfig(freetype2) +BuildRequires: pkgconfig(lcms2) +BuildRequires: pkgconfig(libjpeg) +BuildRequires: pkgconfig(libtiff-4) +BuildRequires: pkgconfig(libturbojpeg) +BuildRequires: pkgconfig(libwebp) +BuildRequires: pkgconfig(tk) +BuildRequires: pkgconfig(zlib) Requires: python-olefile %if %{with tk} BuildRequires: %{python_module tk} %endif %if 0%{?suse_version} >= 1500 -BuildRequires: openjpeg2-devel +BuildRequires: pkgconfig(libopenjp2) %endif %ifpython2 # Pillow is a friendly PIL fork which we used to package as 'imaging'