Merge "Allow selecting suse_39 template"

This commit is contained in:
Zuul 2023-03-03 21:24:36 +00:00 committed by Gerrit Code Review
commit e1f682cd17
2 changed files with 4 additions and 4 deletions

View File

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

View File

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