The following commit has been merged in the master branch:
commit aa2896810a465147f17db5445a7ed06a334af118
Author: Russ Allbery <[email protected]>
Date: Fri Jul 24 21:48:06 2009 -0700
Fix alignment of regex to section mappings
diff --git a/checks/fields b/checks/fields
index 161a8ad..c3b2dd9 100644
--- a/checks/fields
+++ b/checks/fields
@@ -107,18 +107,18 @@ our %known_x_metapackages = map { $_ => 1 }
# Mapping of package names to section names
my @NAME_SECTION_MAPPINGS = (
- [ qr/-docs?$/ => 'doc' ],
- [ qr/-dbg$/ => 'debug' ],
- [ qr/^python-/ => 'python' ],
- [ qr/^r-cran-/ => 'gnu-r' ],
- [ qr/^lib.*-perl$/ => 'perl' ],
- [ qr/^lib.*-cil$/ => 'cli-mono' ],
- [ qr/^lib.*-java$/ => 'java' ],
- [ qr/^(?:lib)php-/ => 'php' ],
- [ qr/^lib(?:hugs|ghc6)-/ => 'haskell' ],
- [ qr/^lib.*-ruby(?:1\.\d)?$/ => 'ruby' ],
- [ qr/^lib.*-(?:ocaml|camlp4)-dev$/ => 'ocaml' ],
- [ qr/^lib.*-dev$/ => 'libdevel' ],
+ [ qr/-docs?$/ => 'doc' ],
+ [ qr/-dbg$/ => 'debug' ],
+ [ qr/^python-/ => 'python' ],
+ [ qr/^r-cran-/ => 'gnu-r' ],
+ [ qr/^lib.*-perl$/ => 'perl' ],
+ [ qr/^lib.*-cil$/ => 'cli-mono' ],
+ [ qr/^lib.*-java$/ => 'java' ],
+ [ qr/^(?:lib)php-/ => 'php' ],
+ [ qr/^lib(?:hugs|ghc6)-/ => 'haskell' ],
+ [ qr/^lib.*-ruby(?:1\.\d)?$/ => 'ruby' ],
+ [ qr/^lib.*-(?:ocaml|camlp4)-dev$/ => 'ocaml' ],
+ [ qr/^lib.*-dev$/ => 'libdevel' ],
);
# Valid URI formats for the Vcs-* fields
--
Debian package checker
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]