Or just: rpm -ivh whatver.src.rpm The SPEC file will be in /usr/src/RPMS/SPEC or something similar depending on the distribution you have. To build it, you can just do a rpm -ba whatever.spec Jay > -----Original Message----- > From: Bob Tanner [mailto:tanner at real-time.com] > Sent: Monday, February 19, 2001 1:10 PM > To: tclug-list at mn-linux.org > 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 > > > > -- > Bob Tanner <tanner at real-time.com> | Phone : (952)943-8700 > http://www.mn-linux.org | Fax : (952)943-8500 > Key fingerprint = 6C E9 51 4F D5 3E 4C 66 62 A9 10 E5 35 85 39 D9 > > _______________________________________________ > tclug-list mailing list > tclug-list at mn-linux.org > https://mailman.mn-linux.org/mailman/listinfo/tclug-list >