[Fedora-packaging] Using self-Obsoletes instead of Epoch bumps?

Ville Skyttä ville.skytta at iki.fi
Tue Jun 21 17:38:56 UTC 2005


On Tue, 2005-06-21 at 13:27 -0400, seth vidal wrote:
> On Tue, 2005-06-21 at 19:06 +0300, Ville Skyttä wrote:
> > Has anyone ever experimented with or considered using self-Obsoletes as
> > an alternative to Epoch bumps using plain rpm CLI and various
> > depsolvers?
> > 
> > Assuming there's a finite and known set of "supported" packages, listing
> > all of them as an explicit, exact (note: always "=")
> > 
> >     Obsoletes: %{name} = $v-$r
>
> well to make it catch older ones you'd need <= $v-$r
> 
> and at that point wouldn't the package be obsoleting itself b/c of the
> version confusion?

Yes.  But as I said above, always "=".  Not "<=" or anything else.




More information about the Fedora-packaging mailing list