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:
parent
3e0ba6285b
commit
34e7822bbb
@ -232,6 +232,8 @@ def main(opts, argv):
|
||||
buildargs.append('--changelog')
|
||||
if opts.jobs:
|
||||
buildargs.append('--jobs %s' % opts.jobs)
|
||||
if opts.baselibs:
|
||||
buildargs.append('--baselibs')
|
||||
buildargs = ' '.join(buildargs)
|
||||
|
||||
prj = store_read_project(os.curdir)
|
||||
|
@ -1504,6 +1504,8 @@ class Osc(cmdln.Cmdln):
|
||||
help='specify the build target project')
|
||||
@cmdln.option('-d', '--debuginfo', action='store_true',
|
||||
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):
|
||||
"""${cmd_name}: Build a package on your local machine
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user