[Rpm-maint] various bug fixes (patches)
Michael Schroeder
mls at suse.de
Wed Nov 14 09:37:37 UTC 2007
On Tue, Nov 13, 2007 at 02:06:13PM -0500, Jeremy Katz wrote:
> On Tue, 2007-11-13 at 13:57 -0500, seth vidal wrote:
> > On Tue, 2007-11-13 at 19:51 +0100, Michael Schroeder wrote:
> > > 1) Jeff's way:
> > >
> > > Put suggests into the require dependencies and enhances into
> > > the provides dependencies. Use the RPMSENSE_MISSINGOK flag
> > > to tell them apart from normal dependencies.
> > >
> > > Advantage:
> > > - compatible to rpm-5
> > > - can do reverse lookups with '--whatprovides' and
> > > 'whatrequires' (this might also be a disadvantage,
> > > as you currently can't exclude weak deps from
> > > the searches)
> > > Disadvantages:
> > > - breaks with older rpm versions and installers
> > > - storing enhances as provides is a bit odd
> >
> > Not so keen on everything just breaking.
>
> You could avoid breaking older rpm versions and installers with this
> method by adding an rpmlib tracking dep when a package is using the
> "soft" deps
That would mean that the package is no longer installable with an
old rpm version. This limitation is not neccessary for soft
dependencies, as it doesn't break things if they are just
ignored.
Cheers,
Michael.
--
Michael Schroeder mls at suse.de
SUSE LINUX Products GmbH, GF Markus Rex, HRB 16746 AG Nuernberg
main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);}
More information about the Rpm-maint
mailing list