Re: RPM Usage Question

[email protected] Mon, 28 Oct 2002 12:57:38 -0500
Newsgroups gmane.linux.redhat.s390
Message-ID <[email protected]>
Maybe somebody knows of a decent workaround, but according to Max RPM 
this functionality is deliberately missing...

"The reason for this restriction is to make it difficult to bypass RPM's 
use of pristine sources. If it were possible to --short-circuit to -bb 
or -ba, a package builder might take the "easy" way out and simply hack 
at the build tree until the software built successfully, then package 
the hacked sources. So, RPM will only --short-circuit to -bc or -bi. 
Nothing else will do."
http://www.rpm.org/max-rpm/ch-rpm-b-command.html#S2-RPM-B-COMMAND-SHORT-CIRCUIT-OPTION

~ Daniel Jarboe

[email protected] wrote:

>Is there any way to get RPM to _not_ do an "rm -rf build.directory" command
>when doing an "rpm -bb" to build a package?  I'm trying to build mozilla on
>my system, and the "rm -rf" and subsequent "tar -xf" commands take forever
>because of the number of files and directories involved.
>
>Mark Post
>
>_______________________________________________
>Redhat-s390-list mailing list
>[email protected]
>https://listman.redhat.com/mailman/listinfo/redhat-s390-list
>