[Rpm-maint] various bug fixes (patches)

Pixel pixel at mandriva.com
Wed Nov 14 09:44:07 UTC 2007


"Jason Corley" <jason.corley at gmail.com> writes:

>>    Disadvantages:
>>      - breaks with older rpm versions and installers
>
> Breaks how, and for what versions of rpm and what installers?

it breaks because if you don't handle RPMSENSE_MISSINGOK, the
"Requires(hint)" will be seen as "Requires" in the metadata of
yum/smart/apt-get/urpmi/... and so they will hard-require the package
instead of allowing it to be missing.

>> > 2) SUSE's way:
>> > 
>> >    Put suggests and enhances in the corresponding tags (they
>> >    already exist in rpm-4, but where not used)
>> > 
>> >    Advantage:
>> >      - old rpm versions and installers just ignore them
>> >    Disadvantage:
>> >      - incompatible with rpm-5
>> >      - there's currently no index for reverse lookups

seems nice to me.



More information about the Rpm-maint mailing list