Make --no-rpmautospec actually work
It seems I screwed up the implementation one hundred percent.
This commit is contained in:
parent
166214f834
commit
1d225f99b1
1 changed files with 2 additions and 2 deletions
|
@ -384,7 +384,7 @@ def main():
|
|||
default=None,
|
||||
help="Use autorelease and autochangelog features")
|
||||
parser.add_argument("--no-rpmautospec", action="store_false",
|
||||
default=None,
|
||||
dest="rpmautospec",
|
||||
help="Do not use rpmautospec")
|
||||
parser.add_argument("--relative-license-paths", action="store_true",
|
||||
help="Put all license files in main license directory")
|
||||
|
@ -468,7 +468,7 @@ def main():
|
|||
kwargs["auto_changelog_entry"] = not args.no_auto_changelog_entry
|
||||
|
||||
rpmautospec = args.rpmautospec
|
||||
if args.rpmautospec is None:
|
||||
if rpmautospec is None:
|
||||
rpmautospec = detect_rpmautospec(args.target, spec_file)
|
||||
kwargs["rpmautospec"] = rpmautospec
|
||||
|
||||
|
|
Loading…
Reference in a new issue