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

Michal Schmidt mschmidt at redhat.com
Mon Jun 21 13:32:01 UTC 2010


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?

Michal


More information about the Rpm-maint mailing list