<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 >= 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 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 <limburgher@gmail.com><br> <b><span style="font-weight: bold;">To:</span></b> Kamal Ahmed <kamal2222ahmed@yahoo.com>; Discussion of RPM packaging standards and practices for Fedora <packaging@lists.fedoraproject.org> <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 <<a ymailto="mailto:kamal2222ahmed@yahoo.com" href="mailto:kamal2222ahmed@yahoo.com">kamal2222ahmed@yahoo.com</a>> wrote:<br>> Hi,<br>> Is it permissible to run a shell script, which has commands like:<br>><br>> echo "Installing Development Tools"<br>> yum $YUMOPTS groupinstall "Development Tools"<br>> echo "Installing other packages"<br>> yum $YUMOPTS install python-devel.i386<br>> yum $YUMOPTS install postgresql84-server.i386 postgresql84-devel.i386<br>> postgresql84-python.i386<br>><br>> # note: check install script that already exists. ask kamal.<br>> # Download and install other packages<br>> echo "Installing Asterisk"<br>> wget<br>> http://downloads.asterisk.org/pub/telephony/asterisk/releases/asterisk-10.2.1.tar.gz<br>> tar xvzf asterisk-10.2.1.tar.gz<br>> cd asterisk-10.2.1<br>> ./configure<br>> make<br>> make install<br>> chkconfig
asterisk on<br>><br>> in the %post section ?<br><br>No, don't run rpm or yum in the spec, in any place. If you need<br>packages installed to build, use BuildRequires. If you need packages<br>installed to run, use Requires.<br><br>-J<br><br>> Thanks,<br>> -Kamal.<br>><br>> --<br>> packaging mailing list<br>> <a ymailto="mailto:packaging@lists.fedoraproject.org" href="mailto:packaging@lists.fedoraproject.org">packaging@lists.fedoraproject.org</a><br>> <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>