def _make_spec_file(self):
<EOL>if issubclass(BdistRPMCommand, object):<EOL><INDENT>spec_file = super(BdistRPMCommand, self)._make_spec_file()<EOL><DEDENT>else:<EOL><INDENT>spec_file = bdist_rpm._make_spec_file(self)<EOL><DEDENT>if sys.version_info[<NUM_LIT:0>] < <NUM_LIT:3>:<EOL><INDENT>python_package = "<STR_LIT>"<EOL><DEDENT>else:<EOL><INDENT>python_package = "<STR_LIT>"<EOL><DEDENT>description = []<EOL>summary = "<STR_LIT>"<EOL>in_description = False<EOL>python_spec_file = []<EOL>for line in spec_file:<EOL><INDENT>if line.startswith("<STR_LIT>"):<EOL><INDENT>summary = line<EOL><DEDENT>elif line.startswith("<STR_LIT>"):<EOL><INDENT>line = "<STR_LIT>".format(python_package)<EOL><DEDENT>elif line.startswith("<STR_LIT>"):<EOL><INDENT>if python_package == "<STR_LIT>":<EOL><INDENT>line = line.replace("<STR_LIT>", "<STR_LIT>")<EOL><DEDENT><DEDENT>elif line.startswith("<STR_LIT>"):<EOL><INDENT>in_description = True<EOL><DEDENT>elif line.startswith("<STR_LIT>"):<EOL><INDENT>line = "<STR_LIT>".format(<EOL>python_package)<EOL><DEDENT>elif line.startswith("<STR_LIT>"):<EOL><INDENT>in_description = False<EOL>python_spec_file.append(<EOL>"<STR_LIT>".format(python_package))<EOL>python_spec_file.append("<STR_LIT>".format(summary))<EOL>python_spec_file.append("<STR_LIT>")<EOL>python_spec_file.append(<EOL>"<STR_LIT>".format(python_package))<EOL>python_spec_file.extend(description)<EOL><DEDENT>elif in_description:<EOL><INDENT>if not description and not line:<EOL><INDENT>continue<EOL><DEDENT>description.append(line)<EOL><DEDENT>python_spec_file.append(line)<EOL><DEDENT>return python_spec_file<EOL>
Generates the text of an RPM spec file.

        Returns:
          A list of strings containing the lines of text.