[linux] Looking for help with SRPM

Jeff Silverman jeffsilv at u.washington.edu
Mon Sep 15 12:30:39 PDT 2003

Dennis Burges wrote:

> Hi,


> I want to modify an RPM, so I have downloaded the SRPM only to realize

> I have no clue what to do with it. I was surprised that the SRPM is a

> binary file- so how is that 'source'? I looked for information at

> www.rpm.org and the Red Hat docs but found nothing on working with

> SRPM's.


> Does anyone have experience with this?


> Thanks,

> ______________________________________________

> Dennis Burges, Senior Computer Specialist

> Health Sciences Academic Services & Facilities

> dburges at u.washington.edu : 206.616.9141


An SRPM has been tar'd and zipped. Assuming everything is as it should
be, you can do something like this:

*rpm --rebuild* /foo.src.rpm


and then you can do

*rpm -Uvh* //usr/src/packages/RPMS/i386/foo.i386.rpm


Personally, I wish that this went to /tmp but that's me.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman13.u.washington.edu/pipermail/linux/attachments/20030915/6ffae9bf/attachment.html>

More information about the Linux mailing list