code: def _make_spec_file(self):
      spec_file = old_bdist_rpm._make_spec_file(self)
  
      # Replace hardcoded setup.py script name
      # with the real setup script name.
      setup_py = os.path.basename(sys.argv[0])
      if setup_py == "setup.py":
          return spec_file
      new_spec_file = []
      for line in spec_file:
          line = line.replace("setup.py", setup_py)
          new_spec_file.append(line)
      return new_spec_file
  
imports: import os
  import sys
label_desc: Use image node_id 1 for calling the bdist_rpm obj's underlying member method code with example usage: obj._make_spec_file() and returns: new_spec_file, spec_file