repo-checker.pl: remove rpmlint.log check as it is redundant with legal review.
Requiring rpmlint.log also requires a large number of additional code to walk the package tree and extract the log.
This commit is contained in:
parent
03a8666fa4
commit
13c4d50f1c
@ -41,34 +41,6 @@ while (@ARGV) {
|
||||
}
|
||||
}
|
||||
|
||||
for my $pdir ( glob("$dir/*") ) {
|
||||
if ( !-f "$pdir/rpmlint.log" ) {
|
||||
print
|
||||
"Couldn't find a rpmlint.log in the build results in $pdir. This is mandatory\n";
|
||||
my $name = basename($pdir);
|
||||
if ( $name eq "rpm"
|
||||
|| $name eq "rpm-python"
|
||||
|| $name eq "popt"
|
||||
|| $name eq "rpmlint"
|
||||
|| $name eq "rpmlint-mini"
|
||||
|| $name eq "rpmlint-Factory" )
|
||||
{
|
||||
print "ignoring - whitelist\n";
|
||||
}
|
||||
else {
|
||||
$ret = 1;
|
||||
}
|
||||
}
|
||||
else {
|
||||
open( GREP, "grep 'W:.*invalid-license ' $pdir/rpmlint.log |" );
|
||||
while (<GREP>) {
|
||||
print "Found rpmlint warning: ";
|
||||
print $_;
|
||||
$ret = 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
my %targets;
|
||||
|
||||
sub write_package($$) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user