From d83f558c720fbe8b9c6ccbf3b6f2cdd3e7bb8fa8 Mon Sep 17 00:00:00 2001 From: Marco d'Itri Date: Fri, 25 Jul 2014 03:31:30 +0200 Subject: [PATCH] make_version_h.pl: support Debian backports --- make_version_h.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.