[Rpm-maint] Re: %post-script prerequisites
Michael Schroeder
mls at suse.de
Thu Sep 25 13:36:53 UTC 2008
On Thu, Sep 25, 2008 at 02:37:27PM +0200, Pixel wrote:
> Michael Schroeder <mls at suse.de> writes:
>
> > So A requires B and B has a requires(post) to A? This isn't installable
> > at all, thus it's a packaging bug.
>
> i don't agree.
>
> not knowing exactly what rpmlib does, here is how i understand the pb:
>
> "Requires" is same as "Requires(postrans)", ie if A requires B, it
> doesn't mean B must be installed before A.
It means that B must be installed before A *works* (easiest
case: B is a library).
Thus, if C has a "Requires(post): A" (e.g. C calls A in a post
scriptlet), A must work, so B and A have to be installed before C.
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