how to create an rpm of a directory structure

Dan O'Callaghan ocalld at eads.com
Thu Sep 16 15:16:45 UTC 2010


Hi

Sorry if this is a basic subject but i'm new to rpm.

What is the best way to create an rpm of a directory structure?
I don't need to compile any files, i just need to copy files (files such
as scripts).

Do i need to list all the files and directories in the "%files" section
or is it possible just to list the top directory in the SPEC file?


Basically i have a lot of scripts in a hierarchal directory structure
that need to be loaded onto several redhat boxes. I could simply use tar
but would like to create an rpm for version control. 

Thanks
Dan
The information contained within this e-mail and any files attached to this e-mail is private and in addition may include commercially sensitive information. The contents of this e-mail are for the intended recipient only and therefore if you wish to disclose the information contained within this e-mail or attached files, please contact the sender prior to any such disclosure. 
If you are not the intended recipient, any disclosure, copying or distribution is prohibited. Please also contact the sender and inform them of the error and delete the e-mail, including any attached files from your system. 
EADS Defence and Security Systems Limited 
Registered Office : Quadrant House, Celtic Springs, Coedkernew, Newport , NP10 8FZ 
Company No: 04191036 
http://www.eadsdsuk.com
The information contained within this e-mail and any files attached to this e-mail is private and in addition may include commercially sensitive information. The contents of this e-mail are for the intended recipient only and therefore if you wish to disclose the information contained within this e-mail or attached files, please contact the sender prior to any such disclosure. 
If you are not the intended recipient, any disclosure, copying or distribution is prohibited. Please also contact the sender and inform them of the error and delete the e-mail, including any attached files from your system. 
EADS Defence and Security Systems Limited 
Registered Office : Quadrant House, Celtic Springs, Coedkernew, Newport , NP10 8FZ 
Company No: 04191036 
http://www.eadsdsuk.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-list/attachments/20100916/d8bd8dc9/attachment.html>


More information about the Rpm-list mailing list