[Rpm-maint] various bug fixes (patches)

Jeremy Katz katzj at redhat.com
Tue Nov 13 19:06:13 UTC 2007


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

Jeremy




More information about the Rpm-maint mailing list