Package: osc Version: 0.149.0-1 Forwarded: no, debian specific Unlike upstream packaging the "build" tool has been renamed to "obs-build" in debian. Thus, if "obs-build" package is install "$ osc build" will work on Debian, if the build-cmd is adjusted by default and/or in the user's ~/.oscrc file.
I would also like to request for osc to recommend or depend on obs-build, as you see most appropriate, to enable local build of osc checked out packages against any distribution out of the box. Signed-off-by: Dimitri John Ledkov <[email protected]> --- osc/conf.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/osc/conf.py b/osc/conf.py index 67f1c97..c4b4a10 100644 --- a/osc/conf.py +++ b/osc/conf.py @@ -28,7 +28,7 @@ The configuration dictionary could look like this: 'http_headers':(('Host','api.suse.de'), ('User','faye'))}, 'foo.opensuse.org': {'user': 'foo', 'pass': 'foo'}}, - 'build-cmd': '/usr/bin/build', + 'build-cmd': '/usr/bin/obs-build', 'build-root': '/abuild/oscbuild-%(repo)s-%(arch)s', 'packagecachedir': '/var/cache/osbuild', 'su-wrapper': 'sudo', @@ -102,7 +102,7 @@ DEFAULTS = {'apiurl': 'https://api.opensuse.org', 'su-wrapper': 'sudo', # build type settings - 'build-cmd': '/usr/bin/build', + 'build-cmd': '/usr/bin/obs-build', 'build-type': '', # may be empty for chroot, kvm or xen 'build-root': '/var/tmp/build-root/%(repo)s-%(arch)s', 'build-uid': '', # use the default provided by build -- 2.1.0 -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

