ALBS-987: Generate i686 and dev repositories with pungi on building new distr. version automatically

- More info about unsigned packages
This commit is contained in:
soksanichenko 2023-03-24 16:39:10 +02:00
parent 4b64d20826
commit 141d00e941

View File

@ -152,9 +152,16 @@ class PackageSetBase(kobo.log.LoggingBase):
""" """
def nvr_formatter(package_info): def nvr_formatter(package_info):
# joins NVR parts of the package with '-' character. if package_info['epoch'] is not None:
return "-".join( epoch_suffix = ':' + package_info['epoch']
(package_info["name"], package_info["version"], package_info["release"]) else:
epoch_suffix = ''
return (
f"{package_info['name']}"
f"{epoch_suffix}-"
f"{package_info['version']}-"
f"{package_info['release']}."
f"{package_info['arch']}"
) )
def get_error(sigkeys, infos): def get_error(sigkeys, infos):