aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/Youri/Submit/Check/Rpmlint.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Youri/Submit/Check/Rpmlint.pm b/lib/Youri/Submit/Check/Rpmlint.pm
index 454d281..a58e283 100644
--- a/lib/Youri/Submit/Check/Rpmlint.pm
+++ b/lib/Youri/Submit/Check/Rpmlint.pm
@@ -65,7 +65,7 @@ sub run {
my @errors;
- my $command = "$self->{_path} -f $self->{_config} " . $package->as_file();
+ my $command = "$self->{_path} -f $self->{_config} " . $package->as_file;
open(my $RPMLINT, "$command |") or die "Can't run $command: $!";
while (my $line = <$RPMLINT>) {
$line =~ /^[EW]: \S+ (\S+)(.*)$/ # old rpmlint format