<html><body><div style="color:#000; background-color:#fff; font-family:verdana, helvetica, sans-serif;font-size:10pt"><div><span>Jon,</span></div><div><br><span></span></div><div><span>So now i have the following requires:</span></div><div><br><span></span></div><div><span>Requires:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; python-devel.i386<br>Requires:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; postgresql84-server.i386<br>Requires:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; postgresql84-python.i386</span></div><div><span><br></span></div><div>and the following BuildRequires:</div><div><br></div><div>BuildRequires:&nbsp; gcc = 4.1.2<br>BuildRequires:&nbsp; make &gt;= 3.81<br>BuildRequires:&nbsp; postgresql84-devel = 8.4.9</div><div><br></div><div>and i get rpm buid fine, and get the following message:</div><div><br><span></span></div><div><br><span></span></div><div><span>Requires: /bin/bash /usr/bin/env libc.so.6 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1)
 libc.so.6(GLIBC_2.2) libc.so.6(GLIBC_2.3) libnsl.so.1 libpq.so.5 libpthread.so.0 libpthread.so.0(GLIBC_2.0) libpthread.so.0(GLIBC_2.1) libpthread.so.0(GLIBC_2.2) librt.so.1 postgresql84-python.i386 postgresql84-server.i386 python(abi) = 2.4 python-devel.i386 rtld(GNU_HASH)<br></span></div><div><span>So now when i install this rpm via the "rpm -ivh myapplication.rpm"</span></div><div><span>i will get Warnings, IF the Requires are not installed</span></div><div><span><br></span></div><div><span>and if i do "yum install myapplication", it will majically install&nbsp; the pre-requisites&nbsp; ? correct ?</span></div><div><br><span></span></div><div><span>Queation is how would yum KNOW "myappliction"</span></div><div><br><span></span></div><div><span>Thanks,</span></div><div><span>-Kamal.</span></div><div><br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; margin-top: 5px; padding-left: 5px;">  <div style="font-family: verdana,
 helvetica, sans-serif; font-size: 10pt;"> <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div dir="ltr"> <font face="Arial" size="2"> <hr size="1">  <b><span style="font-weight:bold;">From:</span></b> Jon Ciesla &lt;limburgher@gmail.com&gt;<br> <b><span style="font-weight: bold;">To:</span></b> Kamal Ahmed &lt;kamal2222ahmed@yahoo.com&gt;; Discussion of RPM packaging standards and practices for Fedora &lt;packaging@lists.fedoraproject.org&gt; <br> <b><span style="font-weight: bold;">Sent:</span></b> Monday, May 7, 2012 11:14 AM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: [Fedora-packaging] use of %verifyscript<br> </font> </div> <br>
On Mon, May 7, 2012 at 10:13 AM, Kamal Ahmed &lt;<a ymailto="mailto:kamal2222ahmed@yahoo.com" href="mailto:kamal2222ahmed@yahoo.com">kamal2222ahmed@yahoo.com</a>&gt; wrote:<br>&gt; Is there a way to verify if an application is installed , from within a SPEC<br>&gt; file ?<br>&gt; Maybe using %verifyscript section ?<br><br>For build time, BuildRequires.&nbsp; For runtime, Requires.<br><br>-J<br><br>&gt; Thanks,<br>&gt; -Kamal.<br>&gt;<br>&gt; --<br>&gt; packaging mailing list<br>&gt; <a ymailto="mailto:packaging@lists.fedoraproject.org" href="mailto:packaging@lists.fedoraproject.org">packaging@lists.fedoraproject.org</a><br>&gt; <a href="https://admin.fedoraproject.org/mailman/listinfo/packaging" target="_blank">https://admin.fedoraproject.org/mailman/listinfo/packaging</a><br><br><br><br>-- <br>http://cecinestpasunefromage.wordpress.com/<br>------------------------------------------------<br>in your fear, seek only peace<br>in your fear, seek only
 love<br><br>-d. bowie<br><br><br> </div> </div> </blockquote></div>   </div></body></html>