Merge "Allow selecting suse_39 template"
This commit is contained in:
commit
e1f682cd17
@ -172,7 +172,7 @@ def process_args():
|
||||
"default: autodetect")
|
||||
parser.add_argument("--spec-style", help="distro style you want to use. "
|
||||
"default: %s" % (distro), default=distro,
|
||||
choices=['suse', 'fedora'])
|
||||
choices=['suse', 'suse_py39', 'fedora'])
|
||||
parser.add_argument("--skip-pyversion",
|
||||
help='Skip requirements for this pyversion',
|
||||
default=_get_default_pyskips(distro),
|
||||
|
@ -250,9 +250,9 @@ def _context_license_spdx(context, value):
|
||||
|
||||
if context['spec_style'] == 'fedora':
|
||||
return mapping[value]
|
||||
else:
|
||||
# just use the spdx license name
|
||||
return value
|
||||
|
||||
# just use the spdx license name
|
||||
return value
|
||||
|
||||
|
||||
###############
|
||||
|
Loading…
Reference in New Issue
Block a user