aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <dev@blino.org>2015-11-02 01:01:51 +0100
committerOlivier Blin <dev@blino.org>2015-11-02 01:01:51 +0100
commitaedb2e099782dd020ba61203699d80bb6248fc29 (patch)
treec7b7a101773c5f210d0c93ac997c68d1eda5895a
parentee9fb694131d4225157c0b565cf2c6b4d1149de4 (diff)
downloadmga-youri-submit-aedb2e099782dd020ba61203699d80bb6248fc29.tar
mga-youri-submit-aedb2e099782dd020ba61203699d80bb6248fc29.tar.gz
mga-youri-submit-aedb2e099782dd020ba61203699d80bb6248fc29.tar.bz2
mga-youri-submit-aedb2e099782dd020ba61203699d80bb6248fc29.tar.xz
mga-youri-submit-aedb2e099782dd020ba61203699d80bb6248fc29.zip
Merge rpmlint debug log from valstar.mageia.org
-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