Hi,<div><br></div><div>I have created a SPEC file that contains the lines,</div><div><br></div><div><div>%files</div><div>/usr/bin/myFile1</div><div>/usr/bin/myFile2</div><div><br></div><div>And I can build the SPEC file without any errors. But after installing the RPM package through "yum", the files reside as such specified in the files section.</div>
<div>By that I mean, myFile1 resides in /usr/bin and myFile2 resides in /usr/bin, rightly so.</div><div><br></div><div>But if while installing can i specify some path, so that it resides in the specified directory.   </div>
<div><br></div><div>Say can I specify a directory /disk1/myFolder so that the installed files will be like, /disk1/myFolder/myFile1 and so..</div><div><br></div><div>How can I specify a user defined directory while installing it and what changes I have to make in the SPEC file to achieve that?</div>
<br>-- <br>Regards,<br>Kali<br>
</div>