mirror of
https://github.com/rfc1036/whois.git
synced 2026-01-03 06:15:17 +00:00
make_version_h.pl: support Debian backports
This commit is contained in:
parent
2d55a4e992
commit
d83f558c72
@ -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.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user