<p dir="ltr">SRC rpm contains source files and spec file. It controls how to build binary rpm. <br>
Get the most recent SRC.rpm for tomcat and start from that. In short, dump all the patches, change version numbers and run rpmbuild tomcat.spec and start debugging :-)</p>
<p dir="ltr">If you can&#39;t compile it from the SRC tar ball, the rpmbuild has no chance. Read the SRC spec file for requirements. </p>
<div class="gmail_quote">On Jun 2, 2013 10:04 PM, &quot;Narahari &#39;n&#39; Savitha&quot; &lt;<a href="mailto:savithari@gmail.com">savithari@gmail.com</a>&gt; wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div><div><div><div><div><div><div><div><div>Friends:<br><br></div>I am building an rpm for Apache Tomcat version 7.0.37.<br><br></div>Sorry to ask a lame question but what is the diff between src rpm and regular rpm ?<br>

</div>(dont flame, I know I have read it but it confuses me when I am building)<br><br></div>Also, tomcat is not really built as in gcc or cc or whatever aka no make or configure.<br><br></div>So in the install section what should I be really doing ?<br>

</div>Spec file is here.<br><br><a href="http://pastebin.com/f6P64tSQ" target="_blank">http://pastebin.com/f6P64tSQ</a><br><br></div>Also, if I have a custom name for the rpm I am building, what macros or env variables are available in the %install section ?<br>

<br></div>Regards,<br></div>-Narahari<br><div><div><div><br></div></div></div></div>
<br>_______________________________________________<br>
Ale mailing list<br>
<a href="mailto:Ale@ale.org">Ale@ale.org</a><br>
<a href="http://mail.ale.org/mailman/listinfo/ale" target="_blank">http://mail.ale.org/mailman/listinfo/ale</a><br>
See JOBS, ANNOUNCE and SCHOOLS lists at<br>
<a href="http://mail.ale.org/mailman/listinfo" target="_blank">http://mail.ale.org/mailman/listinfo</a><br>
<br></blockquote></div>