[linux] Looking for help with SRPM
jeffsilv at u.washington.edu
Mon Sep 15 12:30:39 PDT 2003
Dennis Burges wrote:
> 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
> Does anyone have experience with this?
> 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...
More information about the Linux