Re: Unpacking SRPMs

2013-05-22 Thread Florian Weimer
On 05/17/2013 04:46 PM, Daniel P. Berrange wrote: On Fri, May 17, 2013 at 04:37:13PM +0200, Florian Weimer wrote: I'd like some scriptable way to unpack SRPMs up and including to the %prep stage. Ideally, the results would end up in a directory I specify, and intermediate directories which only

Re: Unpacking SRPMs

2013-05-17 Thread Florian Weimer
ipt assume that build requires are installed. But mock does not appear to support an option to stop after the %prep stage. Unpacking SRPMs seems to be fairly common operation. Has something like this already been implemented? 'fedpkg prep' (though it might have trouble in the c

Re: Unpacking SRPMs

2013-05-17 Thread Adam Williamson
script assume that build requires are installed. But > mock does not appear to support an option to stop after the %prep stage. > > Unpacking SRPMs seems to be fairly common operation. Has something like > this already been implemented? 'fedpkg prep' (though it mi

Re: Unpacking SRPMs

2013-05-17 Thread Orion Poplawski
thing like mock because some %prep script assume that build requires are installed. But mock does not appear to support an option to stop after the %prep stage. Unpacking SRPMs seems to be fairly common operation. Has something like this already been implemented? Something like: rpm -i -D &

Re: Unpacking SRPMs

2013-05-17 Thread Orion Poplawski
that build requires are installed. But mock does not appear to support an option to stop after the %prep stage. Unpacking SRPMs seems to be fairly common operation. Has something like this already been implemented? Something like: rpm -i -D "_sourcedir /tmp/dir1" srpm rpmb

Re: Unpacking SRPMs

2013-05-17 Thread Orion Poplawski
k does not appear to support an option to stop after the %prep stage. Unpacking SRPMs seems to be fairly common operation. Has something like this already been implemented? Something like: rpm -i -D "_sourcedir /tmp/dir1" srpm rpmbuild -bp --nodeps -D "_builddir /tmp/dir1" /

Re: Unpacking SRPMs

2013-05-17 Thread Daniel P. Berrange
On Fri, May 17, 2013 at 04:37:13PM +0200, Florian Weimer wrote: > I'd like some scriptable way to unpack SRPMs up and including to the > %prep stage. Ideally, the results would end up in a directory I > specify, and intermediate directories which only contain a single > subdirectory are skipped.

Unpacking SRPMs

2013-05-17 Thread Florian Weimer
stop after the %prep stage. Unpacking SRPMs seems to be fairly common operation. Has something like this already been implemented? -- Florian Weimer / Red Hat Product Security Team -- devel mailing list devel@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/devel