mirror of
https://github.com/openSUSE/osc.git
synced 2025-01-13 17:16:23 +01:00
make osc call build with --changelog option, by default [#298436]
This commit is contained in:
parent
27cee26d4a
commit
459651ed60
@ -217,7 +217,7 @@ def main(opts, argv):
|
||||
buildargs.append('--clean')
|
||||
if opts.noinit:
|
||||
buildargs.append('--noinit')
|
||||
if opts.changelog:
|
||||
if not opts.no_changelog:
|
||||
buildargs.append('--changelog')
|
||||
buildargs = ' '.join(buildargs)
|
||||
|
||||
|
@ -1316,8 +1316,8 @@ class Osc(cmdln.Cmdln):
|
||||
|
||||
@cmdln.option('--clean', action='store_true',
|
||||
help='Delete old build root before initializing it')
|
||||
@cmdln.option('--changelog', action='store_true',
|
||||
help='Force update of package changelog from a changes file')
|
||||
@cmdln.option('--no-changelog', action='store_true',
|
||||
help='don\'t update the package changelog from a changes file')
|
||||
@cmdln.option('--noinit', '--no-init', action='store_true',
|
||||
help='Skip initialization of build root and start with build immediately.')
|
||||
@cmdln.option('-p', '--prefer-pkgs', metavar='DIR', action='append',
|
||||
|
Loading…
Reference in New Issue
Block a user