rpms/s3cmd/devel s3cmd-0.9.8.3-uri_escape.patch, NONE, 1.1 s3cmd.spec, 1.4, 1.5

Lubomir Rintel lkundrak at fedoraproject.org
Fri Sep 26 12:10:28 UTC 2008


Author: lkundrak

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

Modified Files:
	s3cmd.spec 
Added Files:
	s3cmd-0.9.8.3-uri_escape.patch 
Log Message:
* Fri Sep 26 2008 Lubomir Rintel (Good Data) <lubo.rintel at gooddata.com> - 0.9.8.3-2
- Fix listing of directories with special characters in names


s3cmd-0.9.8.3-uri_escape.patch:

--- NEW FILE s3cmd-0.9.8.3-uri_escape.patch ---
Escape parameters in strings. Fixes sync to and ls of directories with spaces.

Lubomir Rintel (Good Data) <lubo.rintel at gooddata.com>

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)
 	


Index: s3cmd.spec
===================================================================
RCS file: /cvs/pkgs/rpms/s3cmd/devel/s3cmd.spec,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- s3cmd.spec	31 Jul 2008 14:41:53 -0000	1.4
+++ s3cmd.spec	26 Sep 2008 12:09:57 -0000	1.5
@@ -2,7 +2,7 @@
 
 Name:           s3cmd
 Version:        0.9.8.3
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Tool for accessing Amazon Simple Storage Service
 
 Group:          Applications/Internet
@@ -10,6 +10,7 @@
 URL:            http://s3tools.logix.cz/s3cmd
 Source0:        http://download.sourceforge.net/s3tools/%{name}-%{version}.tar.gz
 Patch0:         s3cmd-0.9.8.1-noet.patch
+Patch1:         s3cmd-0.9.8.3-uri_escape.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:      noarch
 
@@ -56,6 +57,9 @@
 
 
 %changelog
+* Fri Sep 26 2008 Lubomir Rintel (Good Data) <lubo.rintel at gooddata.com> - 0.9.8.3-2
+- Fix listing of directories with special characters in names
+
 * Thu Jul 31 2008 Lubomir Rintel (Good Data) <lubo.rintel at gooddata.com> - 0.9.8.3-1
 - New upstream release: Avoid running out-of-memory in MD5'ing large files.
 




More information about the fedora-extras-commits mailing list