rpms/s3cmd/devel s3cmd-0.9.8.3-uri_escape.patch, 1.1, 1.2 s3cmd.spec, 1.6, 1.7

Lubomir Rintel lkundrak at fedoraproject.org
Fri Sep 26 14:30:38 UTC 2008


Author: lkundrak

Update of /cvs/pkgs/rpms/s3cmd/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv6486

Modified Files:
	s3cmd-0.9.8.3-uri_escape.patch s3cmd.spec 
Log Message:
* Fri Sep 26 2008 Lubomir Rintel (Good Data) <lubo.rintel at gooddata.com> - 0.9.8.3-4
- Try 3/65536


s3cmd-0.9.8.3-uri_escape.patch:

Index: s3cmd-0.9.8.3-uri_escape.patch
===================================================================
RCS file: /cvs/pkgs/rpms/s3cmd/devel/s3cmd-0.9.8.3-uri_escape.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- s3cmd-0.9.8.3-uri_escape.patch	26 Sep 2008 12:09:57 -0000	1.1
+++ s3cmd-0.9.8.3-uri_escape.patch	26 Sep 2008 14:30:37 -0000	1.2
@@ -4,13 +4,12 @@
 
 diff -up s3cmd-0.9.8.3/S3/S3.py.uri_escape s3cmd-0.9.8.3/S3/S3.py
 --- s3cmd-0.9.8.3/S3/S3.py.uri_escape	2008-07-03 14:33:39.000000000 +0200
-+++ s3cmd-0.9.8.3/S3/S3.py	2008-09-26 14:05:52.000000000 +0200
-@@ -291,7 +291,7 @@ class S3(object):
- 			else:
- 				param_str += "&%s" % param
- 		if param_str != "":
--			resource['uri'] += "?" + param_str[1:]
-+			resource['uri'] += "?" + self.urlencode_string(param_str[1:])
- 		debug("CreateRequest: resource[uri]=" + resource['uri'])
- 		return (method_string, resource, headers)
- 	
++++ s3cmd-0.9.8.3/S3/S3.py	2008-09-26 16:28:28.000000000 +0200
+@@ -108,6 +108,7 @@ class S3(object):
+ 		def _get_contents(data):
+ 			return getListFromXml(data, "Contents")
+ 
++		prefix = self.urlencode_string(prefix)
+ 		request = self.create_request("BUCKET_LIST", bucket = bucket, prefix = prefix)
+ 		response = self.send_request(request)
+ 		#debug(response)


Index: s3cmd.spec
===================================================================
RCS file: /cvs/pkgs/rpms/s3cmd/devel/s3cmd.spec,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- s3cmd.spec	26 Sep 2008 12:16:07 -0000	1.6
+++ s3cmd.spec	26 Sep 2008 14:30:37 -0000	1.7
@@ -2,7 +2,7 @@
 
 Name:           s3cmd
 Version:        0.9.8.3
-Release:        3%{?dist}
+Release:        4%{?dist}
 Summary:        Tool for accessing Amazon Simple Storage Service
 
 Group:          Applications/Internet
@@ -58,6 +58,9 @@
 
 
 %changelog
+* Fri Sep 26 2008 Lubomir Rintel (Good Data) <lubo.rintel at gooddata.com> - 0.9.8.3-4
+- Try 3/65536
+
 * Fri Sep 26 2008 Lubomir Rintel (Good Data) <lubo.rintel at gooddata.com> - 0.9.8.3-3
 - Whoops, forgot to actually apply the patch.
 




More information about the fedora-extras-commits mailing list