Add cost=1100 in epel.repo?

seth vidal skvidal at fedoraproject.org
Tue Aug 24 18:56:18 UTC 2010


On Tue, 2010-08-24 at 19:03 +0100, Paul Howarth wrote:
> On Tue, 24 Aug 2010 12:56:37 -0400
> seth vidal <skvidal at fedoraproject.org> wrote:
> 
> > On Tue, 2010-08-24 at 10:48 -0600, Stephen John Smoogen wrote:
> > > I believe in the past we have asked the following:
> > > 
> > > 1) Only  build for the architectures that are excluded (eg build it
> > > for ppc64 and not x86_64 or i386)
> > > 2) Keep to the same version or make the release number smaller than
> > > what is in EL-5
> > > 
> > > I am not sure of what effect cost might have on other setups so will
> > > check with skvidal and others.
> > > 
> > 
> > Cost only matters when the pkg nevra are identical between two repos.
> > 
> > so if you have epel and rpmfusion
> > 
> > 
> > and they both have foo-1.1-1.noarch.rpm
> > 
> > then yum will choose the one with the lower cost.
> > 
> > but if they vary in evr or arch then it will sort by those
> > characteristics first.
> 
> So given that the EPEL packages are intended to be exact clones of the
> RHEL packages, with the same nevr and arch, having a cost > 1000 should
> do exactly the right thing, should it not?
> 

yes
-sv





More information about the epel-devel-list mailing list