From 33235c05171255210eff8c0ec3ee7a36339faa34 Mon Sep 17 00:00:00 2001 From: Marco d'Itri Date: Mon, 16 Feb 2026 01:41:49 +0100 Subject: [PATCH] make_version_h.pl: remove everything after ~ or + Closes: #1120638 --- make_version_h.pl | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/make_version_h.pl b/make_version_h.pl index 66a0cb1..5146a26 100755 --- a/make_version_h.pl +++ b/make_version_h.pl @@ -17,11 +17,8 @@ die "Version number not found in $changelog!\n" if not $ver; $ver =~ s/ ( build\d+ | ubuntu\d+ - | ~bpo\d+\+\d+ - | ~deb\d+.* - | \+b\d+ - | \+dyson\d+ - | \+salsaci\+.+ + | ~\S+ + | \+\S+ ) $//x; # The version number must not deviate from this format or the -V option