[Yum-devel] [yum-commits] yum-builddep.py

James Antill james at fedoraproject.org
Wed Jan 6 15:42:39 UTC 2010


On Tue, 2010-01-05 at 13:14 -0500, James Antill wrote:
> On Mon, 2010-01-04 at 09:30 +0000, Tim Lauridsen wrote:
> > +                # Note we do not use the epoch to search as the epoch for the
> > +                # source rpm might be different from the binary rpm (see
> > +                # for example mod_ssl)
> > +                if newpkg.arch != 'src':
> > +                    name = newpkg.returnSimple('sourcerpm').rsplit('-',2)[0]
> > +                    src = self.pkgSack.searchNevra(name=name, arch = 'src',
> > +                      ver = newpkg.version,
> > +                      rel = newpkg.release
> > +                    )
> 
>  Epoch is not special ... the full e:v-r of the source package can be
> different from the sub-package. We could extend base_package_name to
> just be the first value of base_pkgtup?

 Of course looking at doing this, I realize epoch is special because
it's not in the sourcerpm name *sigh*. So putting it in core yum seems
like a bad idea (pkgtupee = pkgtup except epoch ?;).



More information about the Yum-devel mailing list