diff options
author | Olivier Blin <oblin@mandriva.com> | 2007-02-14 12:10:25 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.com> | 2007-02-14 12:10:25 +0000 |
commit | 8f754b127c0feae76ad6f8b1d2701d592720cda5 (patch) | |
tree | 2ffbe0fd857672ec80752ffd1a6ede6aa8859d52 /lib/Youri | |
parent | f4c98a925513762c3a67247b9d9d165117276b0a (diff) | |
download | mga-youri-submit-8f754b127c0feae76ad6f8b1d2701d592720cda5.tar mga-youri-submit-8f754b127c0feae76ad6f8b1d2701d592720cda5.tar.gz mga-youri-submit-8f754b127c0feae76ad6f8b1d2701d592720cda5.tar.bz2 mga-youri-submit-8f754b127c0feae76ad6f8b1d2701d592720cda5.tar.xz mga-youri-submit-8f754b127c0feae76ad6f8b1d2701d592720cda5.zip |
match rpmlint errors that have no value (such as non-xdg-migrated-menu, the only one we currently use...)
Diffstat (limited to 'lib/Youri')
-rw-r--r-- | lib/Youri/Submit/Check/Rpmlint.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Youri/Submit/Check/Rpmlint.pm b/lib/Youri/Submit/Check/Rpmlint.pm index 91b6c24..a38f2ba 100644 --- a/lib/Youri/Submit/Check/Rpmlint.pm +++ b/lib/Youri/Submit/Check/Rpmlint.pm @@ -68,10 +68,10 @@ sub run { my $command = "$self->{_path} -f $self->{_config} " . $package->as_file(); open(RPMLINT, "$command |") or die "Can't run $command: $!"; while (my $line = <RPMLINT>) { - my ($id, $value) = $line =~ /^[EW]: \S+ (\S+) (.*)$/; + my ($id, $value) = $line =~ /^[EW]: \S+ (\S+)(.*)$/; $id or next; if ($id =~ /$self->{_pattern}/o) { - push(@errors, "$id $value"); + push(@errors, "$id$value"); } } |