From 408d127d9af61e54f682fea9f4d2cec4d8e61461 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Thu, 15 Mar 2012 19:12:25 +0000 Subject: (cleanrpmsrate) add a comment --- pm/MGATools/rpmsrate.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/pm/MGATools/rpmsrate.pm b/pm/MGATools/rpmsrate.pm index 39ae90d..2459fa4 100644 --- a/pm/MGATools/rpmsrate.pm +++ b/pm/MGATools/rpmsrate.pm @@ -114,6 +114,7 @@ sub cleanrpmsrate { my ($rpmsrate, $potloc) = preread_rpmsrate($rpmsrate_file, $norpmsrate); my (%rpms, $text, %rate, %section, %keyword, %locale, %localized_pkg); + # LIVE & INSTALL keyswords are special: my @plain_flags = qw(INSTALL LIVE); my $kernel_like = "((?:(?:NVIDIA_)?kernel|NVIDIA_nforce|cm2020).*)"; my $dkms_like = '(.*)([-_])kernel-([0-9]+(?:\.[0-9]+){2,3}-\w+-[0-9]+(?:.[^.]+){0,2}\.?mga\d+)(.*)'; -- cgit v1.2.1