summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-03-15 19:12:25 +0000
committerThierry Vignaud <tv@mageia.org>2012-03-15 19:12:25 +0000
commit408d127d9af61e54f682fea9f4d2cec4d8e61461 (patch)
tree2920b888546824d03a6f33cf0569bd5cb777814a
parent12fd8f457e87f2bbf7ff21ccc92408471a285572 (diff)
downloadmgatools-408d127d9af61e54f682fea9f4d2cec4d8e61461.tar
mgatools-408d127d9af61e54f682fea9f4d2cec4d8e61461.tar.gz
mgatools-408d127d9af61e54f682fea9f4d2cec4d8e61461.tar.bz2
mgatools-408d127d9af61e54f682fea9f4d2cec4d8e61461.tar.xz
mgatools-408d127d9af61e54f682fea9f4d2cec4d8e61461.zip
(cleanrpmsrate) add a comment
-rw-r--r--pm/MGATools/rpmsrate.pm1
1 files changed, 1 insertions, 0 deletions
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+)(.*)';