Commit 4fb616ab authored by Andrew M. Kuchling's avatar Andrew M. Kuchling

Fix bug #418369: typo in bdist_rpm

parent 9ac36316
......@@ -189,7 +189,7 @@ class bdist_rpm (Command):
if type(self.doc_files) is ListType:
for readme in ('README', 'README.txt'):
if os.path.exists(readme) and readme not in self.doc_files:
self.doc.append(readme)
self.doc_files.append(readme)
self.ensure_string('release', "1")
self.ensure_string('serial') # should it be an int?
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment