SPECS: vim.spec - vim-rt should suggest vi-editor for instalation (or maybe...
Jeff Johnson
n3npq at mac.com
Mon Aug 18 20:21:49 CEST 2008
On Aug 18, 2008, at 2:09 PM, Jakub Bogusz wrote:
> On Mon, Aug 18, 2008 at 12:46:16PM +0300, Elan Ruusamäe wrote:
>> On Sunday 17 August 2008 23:51:48 blues wrote:
>>> - vim-rt should suggest vi-editor for instalation (or maybe it
>>> should be
>>> required? What is purpose of vim-rt alone?)
>>
>> it's to avoid dependency loops in packages. besides that
>> dependency loops are
>> not cool, they cause modified %config lossage on upgrades due rpm
>> flaw. (old
>> file is renamed to .rpmsave, and new one is placed as .rpmnew, and
>> the
>> original path name won't exists at all)
>
> So IMO there is one more thing to do on rpm side:
> "A Requires: B + B Suggests: A" situation shouldn't make dependency
> loop; hard dependency should always have priority over soft (Suggests)
> dependency.
>
A satisfied Suggests: dependency is exactly the same as a Requires:
for ordering purposes.
But test RPMSENSE_MISSINGOK and don't order for satisfied Suggests: if
you wish, the place to do so is in lib/depends.c (I'll send along the
2-3 line
patch is necessary).
hth
73 de Jeff
>
> --
> Jakub Bogusz http://qboosh.pl/
> _______________________________________________
> pld-devel-en mailing list
> pld-devel-en at lists.pld-linux.org
> http://lists.pld-linux.org/mailman/listinfo/pld-devel-en
More information about the pld-devel-en
mailing list