dh_setup_copyright: Generalize the build suffix stripped from versions
The previous one didn't account for distro names other than "apertis".
https://phabricator.apertis.org/T10413
Signed-off-by: Ryan Gonzalez ryan.gonzalez@collabora.com
🟠 v2026dev0 entered Soft Code Freeze/Hard Feature Freeze, only bug fixes will be accepted • schedule
The previous one didn't account for distro names other than "apertis".
https://phabricator.apertis.org/T10413
Signed-off-by: Ryan Gonzalez ryan.gonzalez@collabora.com