diff options
-rw-r--r-- | lib/Youri/Upload/Check/Rpmlint.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Youri/Upload/Check/Rpmlint.pm b/lib/Youri/Upload/Check/Rpmlint.pm index 08d5e56..20e478b 100644 --- a/lib/Youri/Upload/Check/Rpmlint.pm +++ b/lib/Youri/Upload/Check/Rpmlint.pm @@ -31,7 +31,7 @@ sub run { croak "Not a class method" unless ref $self; my $file = $package->get_file; - open my $rpmlint, "rpmlint $file |"; + open my $rpmlint, "/usr/bin/rpmlint $file |"; my $fatal; my $error = "fatal errors detected, upload rejected:\n"; while (<$rpmlint>) { |