From aedb2e099782dd020ba61203699d80bb6248fc29 Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Mon, 2 Nov 2015 01:01:51 +0100 Subject: Merge rpmlint debug log from valstar.mageia.org --- lib/Youri/Submit/Check/Rpmlint.pm | 1 + 1 file changed, 1 insertion(+) (limited to 'lib') diff --git a/lib/Youri/Submit/Check/Rpmlint.pm b/lib/Youri/Submit/Check/Rpmlint.pm index 293f18e..01c97b7 100644 --- a/lib/Youri/Submit/Check/Rpmlint.pm +++ b/lib/Youri/Submit/Check/Rpmlint.pm @@ -71,6 +71,7 @@ sub run { $self->{_path} = $self->{opt}->('path', $_target); $self->{_pattern} = '^(?:' . join('|', @$results) . ')$'; my $command = "$self->{_path} -f $self->{_config} " . $package->as_file; + print "Executing $command\n"; open(my $RPMLINT, "$command |") or die "Can't run $command: $!"; while (my $line = <$RPMLINT>) { $line =~ /^[EW]: \S+ (\S+)(.*)$/ # old rpmlint format -- cgit v1.2.1