On Tue, May 24, 2011 at 11:54, Jeff Johnson <n3...@mac.com> wrote:
>
> Requires(pre) is entirely unrelated to PreReq:.
>
> The "(pre)" is a context marker that indicates that this
> requirement is needed solely for installation.
>
> There are two usage case:
>    1) dependencies needed only for an install need not be
>        registered in a rpmdb after the install has occurred.
>    2) by differentiating an "install" from an "erase" context,
>        certain dependency loops can be avoided. I.e. for installation
>        (and thw 1st part of "upgrade") there's no need to look at
>        the "erase" context dependencies.
>

Ah, ok. I though they were the same/similar.

-- 
later, Robert Xu
______________________________________________________________________
RPM Package Manager                                    http://rpm5.org
Developer Communication List                        rpm-devel@rpm5.org

Reply via email to