code: def rpm_name(self, name, python_version=None, pkg_name=False):
          
          logger.debug("Converting name: {0} to rpm name, version: {1}.".format(
              name, python_version))
          rpmized_name = self.base_name(name)
  
          rpmized_name = 'python-{0}'.format(rpmized_name)
  
          if self.distro == 'mageia':
              rpmized_name = rpmized_name.lower()
          logger.debug('Rpmized name of {0}: {1}.'.format(name, rpmized_name))
          return NameConvertor.rpm_versioned_name(rpmized_name, python_version)
docs: Returns name of the package converted to (possibly) correct package
             name according to Packaging Guidelines.
          Args:
              name: name to convert
              python_version: python version for which to retrieve the name of
                              the package
              pkg_name: flag to perform conversion of rpm package name,
                        present in this class just for API compatibility reason
          Returns:
              Converted name of the package, that should be in line with
              Fedora Packaging Guidelines. If for_python is not None,
              the returned name is in form python%(version)s-%(name)s