[Rpm-maint] [PATCH] Allow '--short-circuit' for '-bb'

Panu Matilainen pmatilai at laiskiainen.org
Mon Jun 21 13:46:03 UTC 2010

On Mon, 21 Jun 2010, Michal Schmidt wrote:

> On Mon, 21 Jun 2010 16:10:49 +0300 (EEST) Panu Matilainen wrote:
>> I would consider applying a -bb/-bs --short-circuit enabling patch if
>> the patch causes the resulting package to be "poisoned", requiring
>> some extra switch to be installable. The developer in case 1) who
>> knows what [s]he's doing knows to use
>> --i-know-i-am-using-shortcircuited-builds and in case such packages
>> somehow end up in circulation (rpms have a funny way of floating
>> around to unexpected places) others will at least know this isn't
>> mean for "production" as it fails to install by default.
> A special requirement could be added to the resulting short-circuited
> package, say "rpmlib(ShortCircuited)". This would never be provided by
> anything, so the only way to install the package would be to force the
> deps (--nodeps or --force). Would you consider this a sufficient
> solution?

That's along the lines of what I was thinking about. Using an 
unsatisfiable dependency for this would have the benefit of working 
everywhere (ie all already released rpm versions), whereas a new 
special-purpose tag or such would only be noticed by new rpm versions. 
Apart from perhaps looking a bit odd and non-obvious, the 
rpmlib(ShortCircuited) requirement should be quite sufficient for the 

 	- Panu -

More information about the Rpm-maint mailing list