the latest osc package (0.7) in openSUSE:Tools has support for local
usage: 1. osc build <platform> <arch> <specfile> [--clean|--noinit]
2. BUILD_DIST=... osc build <specfile> [--clean|--noinit]
where BUILD_DIST equals <platform>-<arch>
When you call it for the first time, it will tell you how to add some
configuration to ~/.oscrc.
You may want to configure sudo with option NOPASSWD for /usr/bin/build
and set su-wrapper to 'sudo' in .oscrc.
Let me know how it works you.
SUSE LINUX Products GmbH Thought is limitation.
Research & Development Free your mind.