gholms pushed to python-boto (el6). "Let el7 fall back to bundled python-six (..more)"

notifications at fedoraproject.org notifications at fedoraproject.org
Fri Apr 10 22:39:22 UTC 2015


>From b8c186e9ca01741868d3556d8aa8e3bf02c5e429 Mon Sep 17 00:00:00 2001
From: Garrett Holmstrom <gholms at devzero.com>
Date: Fri, 10 Apr 2015 13:53:30 -0700
Subject: Let el7 fall back to bundled python-six

RHEL 7 currently ships python-six 1.3.0, which is old enough to lack
some of the features boto/compat.py relies upon.  For now, we let boto
fall back to the bundled copy on rHEL 7 until we have a better solution.

Update python-six to at least version 1.7.3:
https://bugzilla.redhat.com/show_bug.cgi?id=1210896

diff --git a/python-boto.spec b/python-boto.spec
index 830f828..ac783f0 100644
--- a/python-boto.spec
+++ b/python-boto.spec
@@ -107,7 +107,12 @@ cloud systems like Eucalyptus, OpenStack and Open Nebula.
 cp -p %{SOURCE1} .
 
 rm -r boto.egg-info
+
+%if ! 0%{?el7}
+# python-six-1.3.0-4.el7 is too old, causes ImportErrors
+# https://bugzilla.redhat.com/show_bug.cgi?id=1210896
 rm -r boto/vendored
+%endif
 
 
 %build
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/python-boto.git/commit/?h=el6&id=b8c186e9ca01741868d3556d8aa8e3bf02c5e429


More information about the scm-commits mailing list