diff --git a/boto-2.23.0-s3-anon.patch b/boto-2.23.0-s3-anon.patch deleted file mode 100644 index fdc6ceb..0000000 --- a/boto-2.23.0-s3-anon.patch +++ /dev/null @@ -1,15 +0,0 @@ -Index: boto/boto/connection.py -=================================================================== ---- boto.orig/boto/connection.py -+++ boto/boto/connection.py -@@ -891,8 +891,8 @@ class AWSAuthConnection(object): - # the port info. All others should be now be up to date and - # not include the port. - if 's3' not in self._required_auth_capability(): -- self.set_host_header(request) -- -+ if not getattr(self, 'anon', False): -+ self.set_host_header(request) - if callable(sender): - response = sender(connection, request.method, request.path, - request.body, request.headers) diff --git a/boto-2.9.9-adjtype.patch b/boto-2.9.9-adjtype.patch deleted file mode 100644 index 4757e51..0000000 --- a/boto-2.9.9-adjtype.patch +++ /dev/null @@ -1,26 +0,0 @@ -Index: boto-2.9.9/boto/ec2/autoscale/policy.py -=================================================================== ---- boto-2.9.9.orig/boto/ec2/autoscale/policy.py -+++ boto-2.9.9/boto/ec2/autoscale/policy.py -@@ -47,16 +47,17 @@ class Alarm(object): - class AdjustmentType(object): - def __init__(self, connection=None): - self.connection = connection -- self.adjustment_types = ListElement([]) -+ self.adjustment_type = None - - def __repr__(self): -- return 'AdjustmentType:%s' % self.adjustment_types -+ return 'AdjustmentType:%s' % self.adjustment_type - - def startElement(self, name, attrs, connection): -- if name == 'AdjustmentType': -- return self.adjustment_types -+ return - - def endElement(self, name, value, connection): -+ if name == 'AdjustmentType': -+ self.adjustment_type = value - return - - diff --git a/python-boto.spec b/python-boto.spec index fe1a42b..1285b7a 100644 --- a/python-boto.spec +++ b/python-boto.spec @@ -1,7 +1,7 @@ %{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} Summary: A simple lightweight interface to Amazon Web Services Name: python-boto -Version: 2.23.0 +Version: 2.25.0 Release: 1%{?dist} License: MIT Group: Development/Languages @@ -11,13 +11,6 @@ BuildRequires: python-devel >= 2.5, python-setuptools-devel BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) -# Fix auto-scaling get_all_adjustment_types -# https://github.com/boto/boto/pull/1538 -Patch2: boto-2.9.9-adjtype.patch -# Fix auth for anonymous S3 requests -# https://github.com/boto/boto/issues/1988 -Patch3: boto-2.23.0-s3-anon.patch - %description Boto is a Python package that provides interfaces to Amazon Web Services. @@ -28,8 +21,6 @@ use, lightweight wrapper around the Amazon services. %prep %setup -q -n boto-%{version} -%patch2 -p1 -%patch3 -p1 rm -r boto.egg-info @@ -65,6 +56,10 @@ rm -r boto.egg-info %{python_sitelib}/boto*.egg-info %changelog +* Mon Feb 10 2014 Garrett Holmstrom - 2.25.0-1 +- Updated to 2.25.0 +- This update makes s3.get_bucket use HEAD instead of GET + * Mon Jan 20 2014 Garrett Holmstrom - 2.23.0-1 - Updated to 2.23.0 - Fixed auth for anonymous S3 requests (boto #1988) diff --git a/sources b/sources index a1af4cf..8edcc4a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -b2fc1f946eed3b3577fa6fb6cf0d016d boto-2.23.0.tar.gz +6b77d186bbed11fdd3d7ee0d6caa53a4 boto-2.25.0.tar.gz