Allow selecting suse_39 template

Change-Id: Ib16122c5b25cf8f83f27a83ef49ee75643bbc7ba
This commit is contained in:
Dirk Müller 2023-03-03 21:51:42 +01:00
parent 20abec6018
commit b9145d5d4d
No known key found for this signature in database
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
###############