Re: how to get a specfile from an RPM

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

 



On Wednesday 15 August 2007 00:24:58 Hale Boyes, Kevin wrote:
> 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?

You can use MC "Midnight Commander" to view/edit/copy 
files from a SRPM, just open/view it with MC. Check the 
contents of CONTENTS.cpio, then save the spec file.

HTH

Colin
-- 
Fedora 7 ("Moonshine")
Registered Linux user number #342953


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

  Powered by Linux