/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to README_BDIST_RPM

Fix ftp transport so that it handles the 'mode' parameter when provided.

* ftp.py:
(FtpTransport.put_file, FtpTransport.mkdir,
FtpTransport._try_append): Use _setmode.
(FtpTransport._setmode): Fix implementation (parameters were
reversed and mode not converted).

* ftp_server.py:
(test_filesystem): New filesystem implementing chmod.
(test_authorizer.authorize): Use our filesystem when authorized.
(ftp_channel.cmd_site): Implement SITE CHOWN.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
There is a bug in disttools for distributions who's rpmbuild compresses 
2
 
the man pages. This causes an error building the final packages as it's 
3
 
expecting bzr.1 and not finding it, but finding bzr.1.gz that's unpackaged.
4
 
 
5
 
This bug is known to affect Fedora, RHEL, and Centos distributions.
6
 
 
7
 
There is a preliminary patch at http://bugs.python.org/issue644744 that
8
 
fixes this issue with disttools.