Allow selecting suse_39 template
Change-Id: Ib16122c5b25cf8f83f27a83ef49ee75643bbc7ba
This commit is contained in:
parent
20abec6018
commit
b9145d5d4d
@ -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…
x
Reference in New Issue
Block a user