Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Buildiing RPM from a local directory

Status
Not open for further replies.

firelex

Programmer
Jan 10, 2002
118
DE
Hello, all!
My problem is:
I have some stuff in my directory
(e.g. /home/eagon/product )
Is there any possibility to build a rpm of it without copying all the things to there appropriate places? I mean all the files in rpm should be in certain directories. (And most *.spec files that saw define also absolute paths for each file). Could I e.g. organize in my /home/eagon/product directory everything so that it looks like it were on the right place
(e.g. /home/eagon/product/usr/lib/...
/home/eagon/product/usr/local/book/...
)
and start building from /home/eagon/product ?

Or if I get all things into an *.tgz or *.tar how can I tell the rpm in a *.spec - file where every file should be placed?

Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top