[python-pillow] Add missing ghostscript Requires and BuildRequires

Sandro Mani smani at fedoraproject.org
Tue Jan 7 09:40:42 UTC 2014


commit ba5f93bcd472a0c40a2044ed38d78be26d45d3ca
Author: Sandro Mani <manisandro at gmail.com>
Date:   Tue Jan 7 10:40:38 2014 +0100

    Add missing ghostscript Requires and BuildRequires

 python-pillow.spec |   20 ++++++++++++++------
 1 files changed, 14 insertions(+), 6 deletions(-)
---
diff --git a/python-pillow.spec b/python-pillow.spec
index 9066900..e8d6789 100644
--- a/python-pillow.spec
+++ b/python-pillow.spec
@@ -25,7 +25,7 @@
 
 Name:           python-pillow
 Version:        2.3.0
-Release:        3%{?snap}%{?dist}
+Release:        4%{?snap}%{?dist}
 Summary:        Python image processing library
 
 # License: see http://www.pythonware.com/products/pil/license.htm
@@ -42,23 +42,25 @@ Patch0:         python-pillow-archs.patch
 # Fix overly-strict test
 Patch1:         python-pillow_test-webp.patch
 
-BuildRequires:  python2-devel
-BuildRequires:  python-setuptools
-BuildRequires:  tkinter
 BuildRequires:  tk-devel
-BuildRequires:  python-sphinx
-BuildRequires:  python-sphinx-theme-better
 BuildRequires:  libjpeg-devel
 BuildRequires:  zlib-devel
 BuildRequires:  freetype-devel
 BuildRequires:  lcms2-devel
 BuildRequires:  sane-backends-devel
+BuildRequires:  ghostscript
 # Don't build with webp support on s390* archs, see bug #962091 (s390*)
 %ifnarch s390 s390x
 BuildRequires:  libwebp-devel
 %endif
+
+BuildRequires:  python2-devel
+BuildRequires:  python-setuptools
+BuildRequires:  tkinter
 BuildRequires:  PyQt4
 BuildRequires:  numpy
+BuildRequires:  python-sphinx
+BuildRequires:  python-sphinx-theme-better
 
 %if %{with_python3}
 BuildRequires:  python3-devel
@@ -70,6 +72,9 @@ BuildRequires:  python3-sphinx
 BuildRequires:  python3-sphinx-theme-better
 %endif
 
+# For EpsImagePlugin.py
+Requires:       ghostscript
+
 Provides:       python-imaging = %{version}-%{release}
 Obsoletes:      python-imaging <= 1.1.7-12
 
@@ -362,6 +367,9 @@ popd
 %endif
 
 %changelog
+* Tue Jan 07 2014 Sandro Mani <manisandro at gmail.com> - 2.3.0-4
+- Add missing ghostscript Requires and BuildRequires
+
 * Mon Jan 06 2014 Sandro Mani <manisandro at gmail.com> - 2.3.0-3
 - Remove python-pillow_help-theme.patch, add python-sphinx-theme-better BR
 


More information about the scm-commits mailing list