Base rpmautospec on choosen target instead of default_target
This commit is contained in:
parent
7d8c9a8028
commit
f54be37deb
1 changed files with 1 additions and 1 deletions
|
@ -448,7 +448,7 @@ def main():
|
||||||
|
|
||||||
rpmautospec = args.rpmautospec
|
rpmautospec = args.rpmautospec
|
||||||
if args.rpmautospec is None:
|
if args.rpmautospec is None:
|
||||||
rpmautospec = detect_rpmautospec(default_target, spec_file)
|
rpmautospec = detect_rpmautospec(args.target, spec_file)
|
||||||
kwargs["rpmautospec"] = rpmautospec
|
kwargs["rpmautospec"] = rpmautospec
|
||||||
|
|
||||||
kwargs["relative_license_paths"] = args.relative_license_paths
|
kwargs["relative_license_paths"] = args.relative_license_paths
|
||||||
|
|
Loading…
Reference in a new issue