Thanks - that works nicely.  Only catch is that you have to know the name of
the spec file ahead of time - not too hard to figure out though.

Tom Veldhouse
veldy at veldy.net

----- Original Message -----
From: "Bob Tanner" <tanner at real-time.com>
To: <tclug-list at mn-linux.org>
Sent: Monday, February 19, 2001 1:09 PM
Subject: Re: [TCLUG] SPEC from SRPMS without --rebuild


> Quoting Thomas T. Veldhouse (veldy at veldy.net):
> > Can anybody tell me how the SPEC file can be extracted from a SRPMS
without
> > using the --rebuild switch for rpm?  I need to examine some of the SPEC
> > files, but I don't want to accidentally build and install the package.
>
> rpm2cpio blah.rpm | cpio --extract blah.spec
>
>