[CentOS-devel] Custom CentOS :: Buildinstall: package order problem

Wed Oct 22 07:30:49 UTC 2008
Niels de Vos <niels.devos at wincor-nixdorf.com>

Hello Richard,

Richard J wrote:
> But, the problem lies in the order in which the packages get installed.
> There is a 3rd party RPM which needs the kernel source to get
> installed, but the kernel's rpm get installed after the 3rd party RPM.
> Due to which the installation of my 3rd party RPM fails!
...
> I am not able to figure out how to change the packages installation
> order so that kernel rpm could install before my rpm.

The .spec of your 3rd-party RPM should probably use PreReq instead of
Requires for the kernel sources.

Hope that helps,
Niels

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: OpenPGP digital signature
URL: <http://lists.centos.org/pipermail/centos-devel/attachments/20081022/cc5cd8ca/attachment-0007.sig>