Bug#1004673: dh-make-perl: Debian::Dependency should not fail on additional commas
Yadd
yadd at debian.org
Mon Jan 31 15:22:03 GMT 2022
Package: dh-make-perl
Version: 0.116
Severity: normal
Tags: patch
Hi,
dpkg tools accepts additional commas in dependencies but not
Debian::Dependency:
Build-Depends: , debhelper-compat (=13)
Easy to fix:
--- a/lib/Debian/Dependency.pm
+++ b/lib/Debian/Dependency.pm
@@ -352,7 +352,7 @@ sub parse {
}
);
}
- else {
+ elsif ($str) {
die "Unable to parse '$str'";
}
}
More information about the pkg-perl-maintainers
mailing list