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

Re: Extract spec file from rpm?



Once upon a time, Jeff Johnson <jbj@redhat.com> said:
> Use rpm2cpio to extract the payload, use cpio to extract the specfile,
> is the basic approach.
> 
> If you can figger a way to do this in one line on a pipe (i.e. without
> creating atemporary file and copying with a glob), then *please* send
> me a patch, and I'll add a popt alias to rpm.

Um, you mean like "rpm2cpio <pkg>.src.rpm | cpio -mi \*.spec"?
-- 
Chris Adams <cmadams@hiwaay.net>
Systems and Network Administrator - HiWAAY Internet Services
I don't speak for anybody but myself - that's enough trouble.





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