[python-cairocffi] Remove require of gdk-pixbuf2 for EL6.

Eric Smith brouhaha at fedoraproject.org
Fri Jul 26 20:31:38 UTC 2013


commit 755d430e1e7bde2fb4aa91135b6dd12034324131
Author: Eric Smith <brouhaha at fedoraproject.org>
Date:   Fri Jul 26 14:30:55 2013 -0600

    Remove require of gdk-pixbuf2 for EL6.

 python-cairocffi.spec |   10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)
---
diff --git a/python-cairocffi.spec b/python-cairocffi.spec
index 3f46b1b..9b618a0 100644
--- a/python-cairocffi.spec
+++ b/python-cairocffi.spec
@@ -6,7 +6,7 @@
 
 Name:           python-cairocffi
 Version:        0.5.1
-Release:        2%{?dist}
+Release:        3%{?dist}
 Group:          Development/Libraries
 Summary:        cffi-based cairo bindings for Python
 License:        BSD
@@ -19,7 +19,10 @@ BuildRequires:  python2-devel python-setuptools
 BuildRequires:  python3-devel python3-setuptools
 %endif # if with_python3
 
-Requires:       python-cffi cairo gdk-pixbuf2
+Requires:       python-cffi cairo
+%if 0%{?fedora} > 13 || 0%{?rhel} > 6
+Requires:       gdk-pixbuf2
+%endif
 
 %description
 cairocffi is a CFFI-based drop-in replacement for Pycairo, a set of
@@ -80,6 +83,9 @@ popd
 %endif # with_python3
 
 %changelog
+* Fri Jul 26 2013 Eric Smith <brouhaha at fedoraproject.org> 0.5.1-3
+- For EL6, remove require of gdk-pixbuf2.
+
 * Tue Jul 23 2013 Eric Smith <brouhaha at fedoraproject.org> 0.5.1-2
 - Added Python 3 support.
 


More information about the scm-commits mailing list