how to get a specfile from an RPM

Hale Boyes, Kevin Kevin.HaleBoyes at encana.com
Tue Aug 14 23:24:58 UTC 2007


Andy Green wrote:
> Somebody in the thread at some point said:
> 
>> Given an RPM, is there a way to get the spec file that was used to
>> build it?
> 
> There's a copy of the .spec file in the SRPM, not in the binary RPM.

I can see the file when I query the SRPM but
how do I extract the .spec file from the SRPM?

Thanks,
K.

This email communication and any files transmitted with it may contain confidential and or proprietary information and is provided for the use of the intended recipient only. Any review, retransmission or dissemination of this information by anyone other than the intended recipient is prohibited.  If you receive this email in error, please contact the sender and delete this communication and any copies immediately. Thank you. 
http://www.encana.com






More information about the users mailing list