obsoleting in compat packages: is it right?

Nicolas Mailhot nicolas.mailhot at laposte.net
Fri Sep 7 06:07:21 UTC 2007


Le vendredi 07 septembre 2007 à 01:04 +0200, Michael Schwendt a écrit :
> On Fri, 07 Sep 2007 00:45:49 +0200, Nicolas Mailhot wrote:
> 
> > 
> > Le vendredi 07 septembre 2007 à 00:36 +0200, Michael Schwendt a écrit :
> > 
> > > As in the range  1.5.0 <= x < 1.6.0  ?
> > > I don't think that is possible with "Obsoletes".
> > > With Requires it is different, since all Requires must be satisfied.
> > 
> > No it's not, since rpm is lacking true version range support you only
> > need package A providing foo = 1.4.0 and package B foo = 1.8.0 to fool
> > Requires 1.5.0 <= foo < 1.6.0 
> 
> Not that notation. But
> 
>   Requires: foo >= 1.5.0
>   Requires: foo < 1.6.0
> 
> does not work?
> It must be
> 
>   Requires: foo >= 1.5.0
>   Conflicts: foo >= 1.6.0

This blacklists newer foo-providing packages from the system, when what
you really want is ensure there is a foo in the right range (and do not
care if there are also older or newer foo provides)

-- 
Nicolas Mailhot
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: Ceci est une partie de message num?riquement sign?e
URL: <http://listman.redhat.com/archives/fedora-devel-list/attachments/20070907/e83bd8fa/attachment.sig>


More information about the fedora-devel-list mailing list