def srcname(self):
        """Return srcname for the macro if the pypi name should be changed.

        Those cases are:
        - name was provided with -r option
        - pypi name is like python-<name>
        """
        if self.rpm_name or self.name.startswith(('python-', 'Python-')):
            return self.name_convertor.base_name(self.rpm_name or self.name)