<html><body><div style="color:#000; background-color:#fff; font-family:verdana, helvetica, sans-serif;font-size:10pt"><div><span>what about, lets say:</span></div><div><span><br></span></div><div>Requires(post): openssl &gt;= 0.9.7f-4, /bin/cat</div><div><br></div><div>i would like to package openssl in the rpm , is that possible ?</div><div>or the standard way, is that if openssl is not installed, i just get an error, and have to manually install it?<br><br>I am taking example of openssh, so when i do yum -y install openssh , it installs the openssh-server and openssh-client and also executes/runs&nbsp; the binary.<br><br></div><div>Thanks,<br>-Kmaal.<br></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> Tuesday, May 1, 2012 9:24 AM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: [Fedora-packaging] Running installation shell script<br> </font> </div> <br>
On Tue, May 1, 2012 at 8:22 AM, Kamal Ahmed &lt;<a ymailto="mailto:kamal2222ahmed@yahoo.com" href="mailto:kamal2222ahmed@yahoo.com">kamal2222ahmed@yahoo.com</a>&gt; wrote:<br>&gt; Hi,<br>&gt; Is it permissible to run a shell script, which has commands like:<br>&gt;<br>&gt; echo "Installing Development Tools"<br>&gt; yum $YUMOPTS groupinstall "Development Tools"<br>&gt; echo "Installing other packages"<br>&gt; yum $YUMOPTS install python-devel.i386<br>&gt; yum $YUMOPTS install postgresql84-server.i386 postgresql84-devel.i386<br>&gt; postgresql84-python.i386<br>&gt;<br>&gt; # note: check install script that already exists. ask kamal.<br>&gt; # Download and install other packages<br>&gt; echo "Installing Asterisk"<br>&gt; wget<br>&gt; http://downloads.asterisk.org/pub/telephony/asterisk/releases/asterisk-10.2.1.tar.gz<br>&gt; tar xvzf asterisk-10.2.1.tar.gz<br>&gt; cd asterisk-10.2.1<br>&gt; ./configure<br>&gt; make<br>&gt; make install<br>&gt; chkconfig
 asterisk on<br>&gt;<br>&gt; in the %post&nbsp; section ?<br><br>No, don't run rpm or yum in the spec, in any place.&nbsp; If you need<br>packages installed to build, use BuildRequires.&nbsp; If you need packages<br>installed to run, use 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>