aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2008-02-08 17:49:48 +0000
committerOlivier Blin <oblin@mandriva.com>2008-02-08 17:49:48 +0000
commitcfd11a6f379b677daf64ea576dabbae775dc7031 (patch)
tree81c5688304be37cca2a58b463f96953f5805fe99
parent864e424e3924ee6e1c81aab815eb5270248beae9 (diff)
downloadmga-youri-submit-cfd11a6f379b677daf64ea576dabbae775dc7031.tar
mga-youri-submit-cfd11a6f379b677daf64ea576dabbae775dc7031.tar.gz
mga-youri-submit-cfd11a6f379b677daf64ea576dabbae775dc7031.tar.bz2
mga-youri-submit-cfd11a6f379b677daf64ea576dabbae775dc7031.tar.xz
mga-youri-submit-cfd11a6f379b677daf64ea576dabbae775dc7031.zip
remove results occurences and update doc
-rw-r--r--lib/Youri/Submit/Check/Rpmlint.pm12
1 files changed, 1 insertions, 11 deletions
diff --git a/lib/Youri/Submit/Check/Rpmlint.pm b/lib/Youri/Submit/Check/Rpmlint.pm
index 22479ee..95c31e4 100644
--- a/lib/Youri/Submit/Check/Rpmlint.pm
+++ b/lib/Youri/Submit/Check/Rpmlint.pm
@@ -7,8 +7,7 @@ Youri::Submit::Check::Rpmlint - Rpmlint-based check
=head1 DESCRIPTION
-This check plugin wraps rpmlint, and reject packages triggering results
-declared as fatal.
+This check plugin wraps rpmlint, and reject packages triggering rpmlint errors.
=cut
@@ -25,10 +24,6 @@ Specific parameters:
=over
-=item results $results
-
-List of rpmlint result id considered as fatal.
-
=item path $path
Path to the rpmlint executable (default: /usr/bin/rpmlint)
@@ -45,18 +40,13 @@ Specific rpmlint configuration.
sub _init {
my $self = shift;
my %options = (
- results => undef,
path => '/usr/bin/rpmlint',
config => '',
@_
);
- croak "no results to check" unless $options{results};
- croak "fatal should be an arrayref" unless ref $options{results} eq 'ARRAY';
-
$self->{_config} = $options{config};
$self->{_path} = $options{path};
- $self->{_pattern} = '^(?:' . join('|', @{$options{results}}) . ')$';
}
sub run {