RPM creation

Michael Schwendt mschwendt at gmail.com
Thu Jan 19 20:13:32 UTC 2012


On Thu, 19 Jan 2012 11:50:02 -0600, SB( (Stephen) wrote:

> I'm attempting to create an rpm that will install some locally generated 
> and maintained scripts, configs, etc.  All the tutorials I've found so 
> far seem to key in on having a source package tarball and compiling code 
> and all that entails.  I just need to package some simple scripts and 
> whatnot so installing and updating them on the systems I maintain will 
> be a little bit easier.
> 
> Does anyone know of a tutorial on creating a simple rpm package that 
> basically just copies a few files into specified locations?

The %setup macro is documented. Use it with options -T -c so it doesn't
try to extract Source0 as a tarball. Access your individual script files
via the 'SourceX:' tags and the %{SOURCEx} macros for those tags.


More information about the users mailing list