diff --git a/make_version_h.pl b/make_version_h.pl index ae9956a..9eef4a8 100755 --- a/make_version_h.pl +++ b/make_version_h.pl @@ -12,7 +12,7 @@ close($fh) or die "close($changelog): $!"; my ($ver) = $line =~ /^whois \s+ \( ( [^\)]+ ) \) \s+ \S+/x; die "Version number not found in $changelog!\n" if not $ver; -$ver =~ s/ ( ~deb\d+.* | ubuntu\d+ | \+dyson\d+ ) $//x; +$ver =~ s/ ( ~bpo\d+\+\d+ | ~deb\d+.* | ubuntu\d+ | \+dyson\d+ ) $//x; # The version number must not deviate from this format or the -V option # to RIPE-like servers will break. If needed, update the previous regexp.