From b6bb12f879c4d1bdef634e8a8c6346ebf12c0274f5c2bd2a36d067d107eb6a26 Mon Sep 17 00:00:00 2001 From: Denisart Benjamin Date: Sun, 2 Feb 2014 01:11:04 +0000 Subject: [PATCH 1/2] Accepting request 220496 from home:frispete:python - also exclude 12.2 from ghost etc/alternatives/* as this results in failed builds with: Explicit file attributes required in spec for: $BUILDROOT/etc/alternatives/pil* OBS-URL: https://build.opensuse.org/request/show/220496 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pillow?expand=0&rev=10 --- python-Pillow.changes | 7 +++++++ python-Pillow.spec | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/python-Pillow.changes b/python-Pillow.changes index dc74d55..c8b177d 100644 --- a/python-Pillow.changes +++ b/python-Pillow.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Fri Jan 17 21:59:13 UTC 2014 - hpj@urpla.net + +- also exclude 12.2 from ghost etc/alternatives/* as this results in + failed builds with: Explicit file attributes required in spec for: + $BUILDROOT/etc/alternatives/pil* + ------------------------------------------------------------------- Tue Jan 7 19:19:05 UTC 2014 - marko.kohtala@gmail.com diff --git a/python-Pillow.spec b/python-Pillow.spec index ebb3d8a..c8ec0c0 100644 --- a/python-Pillow.spec +++ b/python-Pillow.spec @@ -119,7 +119,7 @@ fi %{python_sitearch}/Pillow-%{version}-py%{py_ver}.egg-info %exclude %{python_sitearch}/PIL/ImageTk* %exclude %{python_sitearch}/PIL/_imagingtk* -%if 0%{?suse_version} > 1210 +%if 0%{?suse_version} > 1220 %ghost %{_sysconfdir}/alternatives/pilconvert %ghost %{_sysconfdir}/alternatives/pildriver %ghost %{_sysconfdir}/alternatives/pilfile From 42e032a9a083ae51e10cffcbf8d8ba1685fdd90dd716e74eccc9062320748bec Mon Sep 17 00:00:00 2001 From: Sascha Peilicke Date: Fri, 14 Feb 2014 08:12:00 +0000 Subject: [PATCH 2/2] Accepting request 222275 from home:Nijel:branches:devel:languages:python - Fix build for older distributions which do not include lcms2 OBS-URL: https://build.opensuse.org/request/show/222275 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pillow?expand=0&rev=11 --- python-Pillow.changes | 5 +++++ python-Pillow.spec | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/python-Pillow.changes b/python-Pillow.changes index c8b177d..abb3b13 100644 --- a/python-Pillow.changes +++ b/python-Pillow.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Feb 14 07:28:32 UTC 2014 - mcihar@suse.cz + +- Fix build for older distributions which do not include lcms2 + ------------------------------------------------------------------- Fri Jan 17 21:59:13 UTC 2014 - hpj@urpla.net diff --git a/python-Pillow.spec b/python-Pillow.spec index c8ec0c0..6f7a483 100644 --- a/python-Pillow.spec +++ b/python-Pillow.spec @@ -32,10 +32,10 @@ BuildRequires: tk-devel BuildRequires: unzip %if 0%{?suse_version} > 1210 BuildRequires: libjpeg8-devel +BuildRequires: liblcms2-devel BuildRequires: libwebp-devel %endif BuildRequires: freetype2-devel -BuildRequires: liblcms2-devel BuildRequires: libtiff-devel BuildRequires: zlib-devel Requires(post): update-alternatives