Skip to content

generate_security_bom.py: Use a more generic build suffix regex

Walter Lozano requested to merge wip/wlozano/backports-v2024 into apertis/v2024

While computing the source package version a custom distro suffix is searched in order to trim the build suffix. Since the distro suffix is different in downstreams it does not work properly.

To fix that, use a more generic regex, which should match the one in debhelper.

https://phabricator.apertis.org/T10413

Signed-off-by: Walter Lozano walter.lozano@collabora.com

Merge request reports