def get_specfile(self): """ Return the path to the spec file. """ specdir = get_rpm_tag('_specdir') if self.package.name.startswith('python-'): specname = '%s.spec' % self.__dict['barename'] else: specname = 'python-%s.spec' % self.__dict['barename'] return '%s/%s' % (specdir, specname)
def get_specfile(self): """ Return the path to the spec file. """ specdir = get_rpm_tag('_specdir') specname = '%s.spec' % self.package.name return '%s/%s' % (specdir, specname)