1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-12-27 02:16:12 +01:00

- added --baselibs option to osc build

This commit is contained in:
Marcus Hüwe 2008-05-08 12:21:57 +00:00
parent 3e0ba6285b
commit 34e7822bbb
2 changed files with 4 additions and 0 deletions

View File

@ -232,6 +232,8 @@ def main(opts, argv):
buildargs.append('--changelog') buildargs.append('--changelog')
if opts.jobs: if opts.jobs:
buildargs.append('--jobs %s' % opts.jobs) buildargs.append('--jobs %s' % opts.jobs)
if opts.baselibs:
buildargs.append('--baselibs')
buildargs = ' '.join(buildargs) buildargs = ' '.join(buildargs)
prj = store_read_project(os.curdir) prj = store_read_project(os.curdir)

View File

@ -1504,6 +1504,8 @@ class Osc(cmdln.Cmdln):
help='specify the build target project') help='specify the build target project')
@cmdln.option('-d', '--debuginfo', action='store_true', @cmdln.option('-d', '--debuginfo', action='store_true',
help='also build debuginfo sub-packages') help='also build debuginfo sub-packages')
@cmdln.option('-b', '--baselibs', action='store_true',
help='Create -32bit/-64bit/-x86 rpms for other architectures')
def do_build(self, subcmd, opts, *args): def do_build(self, subcmd, opts, *args):
"""${cmd_name}: Build a package on your local machine """${cmd_name}: Build a package on your local machine