aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Youri/Submit/Check/Rpmlint.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Youri/Submit/Check/Rpmlint.pm')
-rw-r--r--lib/Youri/Submit/Check/Rpmlint.pm1
1 files changed, 1 insertions, 0 deletions
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