<div dir="ltr"><div>If you want the final location to be somewhere other than what the source makefile provides, you add a patch to the spec and src.rpm that makes that change.<br><br></div>The philosophy of rpm is pristine upstream sources with custom patches as required.<br>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, Jun 2, 2013 at 11:31 PM, Narahari &#39;n&#39; Savitha <span dir="ltr">&lt;<a href="mailto:savithari@gmail.com" target="_blank">savithari@gmail.com</a>&gt;</span> wrote:<br>
<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 class="im"><div>Did you take a look at the document I linked in your last thread?<br>
<br></div></div>       -&gt;Yes that is the basis on which I was working out the tomcat rpm and Thank You for that wonderful document.<div class="im"><br>
<br>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.<br></div></div>     -&gt;So if I want the final install to be on /opt/apache-tomcat-7.0.37, I need to do that hard lifting myself right ? as in<br>

</div>     -&gt;mkdir -p $RPM_BUILD_ROOT/opt<br></div>     -&gt;cp -R /home/virtual/rpmbuild/BUILD/apache-tomcat-7.0.37 $RPM_BUILD_ROOT/opt<br><br></div>      -&gt;Will the above step then create the .rpm file ?<div class="im">
<br><br>I notice you don&#39;t have a %files manifest yet, that&#39;ll be next.<br>
<br></div></div>       -&gt;I thought %files are dummy section, is that needed ?<span class="HOEnZb"><font color="#888888"><br><br><br></font></span></div><span class="HOEnZb"><font color="#888888">-Narahari<br></font></span></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><br><br clear="all"><br>-- <br>-- <br>James P. Kinney III<br><i><i><i><i><br></i></i></i></i>Every time you stop a school, you will have to build a jail. What you 
        gain at one end you lose at the other. It&#39;s like feeding a dog on his 
        own tail. It won&#39;t fatten the dog.<br>

        - Speech 11/23/1900 Mark Twain<br><i><i><i><i><br><a href="http://electjimkinney.org" target="_blank">http://electjimkinney.org</a><br><a href="http://heretothereideas.blogspot.com/" target="_blank">http://heretothereideas.blogspot.com/</a><br>
</i></i></i></i>
</div>