Dependencies order question

Manuel Vacelet <[email protected]>
Newsgroups gmane.linux.rpm.yum
Message-ID <[email protected]>
Hi all,

After a bit of googling, I have a question regarding dependencies
solving by yum: Are dependencies always installed in the order they
are defined in the RPM .spec file ?

For instance, I have a package with:
Requires: foo, bar
or
Requires: foo
Requires: bar

Is it guaranteed that 'foo' will always be installed before 'bar' ?
(Assuming that 'bar' is not itself a dependency of 'foo' or that my
current package is not itself a dependency of another package that
would requires 'bar' at first).

Thanks,
Manuel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.