--- Python-2.3.3/Lib/distutils/command/bdist_rpm.py.orig 2004-04-06 17:16:04.000000000 +0900 +++ Python-2.3.3/Lib/distutils/command/bdist_rpm.py 2004-04-06 20:36:01.000000000 +0900 @@ -199,8 +199,10 @@ self.ensure_string('distribution_name') - self.ensure_string('changelog') - # Format changelog correctly + self.ensure_filename('changelog') + # Format changelog correctly + if self.changelog: + self.changelog = open(self.changelog).read() self.changelog = self._format_changelog(self.changelog) self.ensure_filename('icon')