<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>Your first question is what's the difference between an SRPM and an RPM. &nbsp;An RPM is software you're going to install and use on a machine. &nbsp;An SRPM is an RPM that contains your sourcecode and spec file, from which someone can build their own RPM.</div><div><br></div><div>Second, what you should be doing in your install section. &nbsp;Your install section should be moving your files from your source directory into the RPM_BUILD_ROOT. &nbsp;Did you take a look at the document I linked in your last thread?</div><div><br></div><div>Third, %install... If you would prefer, add a makefile to your source tar and call its install target. Otherwise just manually move the files to where they need to go.</div><div><br></div><div>I notice you don't have a %files manifest yet, that'll be next.</div><div><br></div><div>-Scott</div><div><br>On Jun 2, 2013, at 10:02 PM, "Narahari 'n' Savitha" &lt;<a href="mailto:savithari@gmail.com">savithari@gmail.com</a>&gt; wrote:<br><br></div><blockquote type="cite"><div><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">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>
</div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>Ale mailing list</span><br><span><a href="mailto:Ale@ale.org">Ale@ale.org</a></span><br><span><a href="http://mail.ale.org/mailman/listinfo/ale">http://mail.ale.org/mailman/listinfo/ale</a></span><br><span>See JOBS, ANNOUNCE and SCHOOLS lists at</span><br><span><a href="http://mail.ale.org/mailman/listinfo">http://mail.ale.org/mailman/listinfo</a></span><br></div></blockquote></body></html>