how to 'rip apart' a rpm.

Dennis Gilmore dennis at ausil.us
Mon May 17 22:51:07 UTC 2010


On Saturday 15 May 2010 10:22:55 am reg at dwf.com wrote:
> I want to look at the individual files in a src rpm.
> How do I 'rip it apart' ??
> Doing an install doesnt seem to be the answer, It does something, but I
> have no idea where the bits and pieces are going.
> They are NOT in /usr/src/redhat nor in /root/rpmbuild.

the easiest way is as a user run rpmdev-setuptree which is part of rpmdevtools 
then do a rpm -ivh <src.rpm> 

the spec will be in ~/rpmbuild/SPECS/ and the sources in ~/rpmbuild/SOURCES/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
Url : http://lists.fedoraproject.org/pipermail/users/attachments/20100517/459a925a/attachment.bin 


More information about the users mailing list