Commit 796141cc authored by Chris Lamb's avatar Chris Lamb

Correct checking for missing repacked tarball explanation; the source field…

Correct checking for missing repacked tarball explanation; the source field normally contains a URL.
parent 85166acd
......@@ -286,7 +286,8 @@ sub _parse_dep5 {
and none { defined $first_para->{$_} } qw(comment disclaimer);
tag 'missing-explanation-for-repacked-upstream-tarball'
if $info->repacked
and none { defined $first_para->{$_} } qw(comment files-excluded source);
and none { defined $first_para->{$_} } qw(comment files-excluded)
and ($first_para->{'source'} // '') =~ m{^https?://};
my (undef, $full_license_field, undef,@short_licenses_field)
=parse_license($first_para->{'license'}, 1);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment