RE: how to get a specfile from an RPM

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tuesday, Aug 14th 2007 at 17:24 -0600, quoth Hale Boyes, Kevin :

=>> 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?

rpm -i file.src.rpm

The spec file will land in /usr/src/redhat/SPECS


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux