1
0
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:
Dr. Peter Poeml 2007-09-03 10:25:18 +00:00
parent 27cee26d4a
commit 459651ed60
2 changed files with 3 additions and 3 deletions

View File

@ -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)

View File

@ -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',