/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

  • Committer: James Westby
  • Date: 2007-02-26 21:48:05 UTC
  • mto: (2304.1.1 jam-integration)
  • mto: This revision was merged to the branch mainline in revision 2305.
  • Revision ID: jw+debian@jameswestby.net-20070226214805-umfrbzkqnvvrna64
Make the handling of the msgfile more sane.

  * Close it in a finally block for more safety.
  * Open it at the start and just write to it instead of building up the
    message.
  * Don't close the fileno from mkstemp, just convert it to a filehandle
    straight away.

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.