On Tue, 18 Nov 2003, Wolfe, Gordon W wrote: > Date: Tue, 18 Nov 2003 16:06:52 -0800 > From: "Wolfe, Gordon W" <[EMAIL PROTECTED]> > Reply-To: Linux on 390 Port <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: RPM spec files > > I have an rpm and I want to see what the spec file is that created it. Is there a > way to extract it? I've been all through the "Maximum RPM" book and can't find it.
Try "rpm2cpio foo.srpm | cpio -idm '*.spec'" on the source rpm file (from http://groups.yahoo.com/group/rpm-list/message/20596). > Use the Best! Linux for Servers > Macintosh for Graphics > Palm for Mobility > Windows for Solitaire. > Gordon W. Wolfe, Ph.D. VM & Linux Systems Support > Enterprise Servers, The Boeing Company (425)865-5940