Hi,<br>Thanks a lot for your help. I finally solved the problem I was facing and now I completed the project. <br>Thanks Again! Keep up the great work :-)<br><br>Richard<br><br><div class="gmail_quote">On Wed, Oct 22, 2008 at 2:17 PM, Niels de Vos <span dir="ltr">&lt;<a href="mailto:niels.devos@wincor-nixdorf.com">niels.devos@wincor-nixdorf.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="Ih2E3d">Richard J wrote:<br>
&gt; Hi Niels,<br>
&gt; Thanks a lot for such a prompt response. Actually, I am new to this<br>
&gt; stuff so I need to clarify this a bit more. Are you saying that if<br>
&gt; &#39;PreReq&#39; is used instead of &#39;Requires&#39; in .spec then the kernel rpm<br>
&gt; would install before my RPM??<br>
<br>
</div>Yes.<br>
<br>
>From <a href="http://docs.fedoraproject.org/drafts/rpm-guide-en/ch-advanced-packaging.html" target="_blank">http://docs.fedoraproject.org/drafts/rpm-guide-en/ch-advanced-packaging.html</a>:<br>
<br>
<a href="http://10.1.2." target="_blank">10.1.2.</a> Setting prerequisites<br>
<br>
A prerequisite is similar to a require dependency, except that a<br>
prerequisite must be installed prior to a given package. Specify a<br>
prerequisite as follows:<br>
<br>
PreReq: capability<br>
<br>
You can include version-number dependencies, such as:<br>
<br>
PreReq: capability &gt;= version<br>
<br>
In most usage, a PreReq: acts just like Requires:, in fact, the PreReq:<br>
directive exists just to allow for a manual order to dependencies. RPM<br>
guarantees that the PreReq: package will be installed prior to the package<br>
that names the PreReq: dependency.<br>
<div class="Ih2E3d"><br>
<br>
&gt; Thanks again,<br>
&gt; Richard<br>
&gt;<br>
&gt;<br>
&gt; On 10/22/08, Niels de Vos &lt;<a href="mailto:niels.devos@wincor-nixdorf.com">niels.devos@wincor-nixdorf.com</a>&gt; wrote:<br>
&gt;&gt; Hello Richard,<br>
&gt;&gt;<br>
&gt;&gt; Richard J wrote:<br>
&gt;&gt;&gt; But, the problem lies in the order in which the packages get installed.<br>
&gt;&gt;&gt; There is a 3rd party RPM which needs the kernel source to get<br>
&gt;&gt;&gt; installed, but the kernel&#39;s rpm get installed after the 3rd party RPM.<br>
&gt;&gt;&gt; Due to which the installation of my 3rd party RPM fails!<br>
&gt;&gt; ...<br>
&gt;&gt;&gt; I am not able to figure out how to change the packages installation<br>
&gt;&gt;&gt; order so that kernel rpm could install before my rpm.<br>
&gt;&gt; The .spec of your 3rd-party RPM should probably use PreReq instead of<br>
&gt;&gt; Requires for the kernel sources.<br>
&gt;&gt;<br>
&gt;&gt; Hope that helps,<br>
&gt;&gt; Niels<br>
&gt;&gt;<br>
&gt;&gt;<br>
</div><div><div></div><div class="Wj3C7c">&gt; _______________________________________________<br>
&gt; CentOS-devel mailing list<br>
&gt; <a href="mailto:CentOS-devel@centos.org">CentOS-devel@centos.org</a><br>
&gt; <a href="http://lists.centos.org/mailman/listinfo/centos-devel" target="_blank">http://lists.centos.org/mailman/listinfo/centos-devel</a><br>
<br>
<br>
</div></div><br>_______________________________________________<br>
CentOS-devel mailing list<br>
<a href="mailto:CentOS-devel@centos.org">CentOS-devel@centos.org</a><br>
<a href="http://lists.centos.org/mailman/listinfo/centos-devel" target="_blank">http://lists.centos.org/mailman/listinfo/centos-devel</a><br>
<br></blockquote></div><br>