Use @bugcfg::architectures (and fix that) instead of hardcoding a list
authorSteinar H. Gunderson <sesse@rietz>
Sat, 10 Mar 2007 15:30:43 +0000 (15:30 +0000)
committerSteinar H. Gunderson <sesse@rietz>
Sat, 10 Mar 2007 15:30:43 +0000 (15:30 +0000)
in the source.

bugcfg.pm
scanlib.pm

index 956b434..ebe515d 100644 (file)
--- a/bugcfg.pm
+++ b/bugcfg.pm
@@ -27,7 +27,7 @@ if ($host eq "master" or $host eq "spohr" or $host eq "rietz") {
 }
 
 our $btsURL                    = "http://www.debian.org/Bugs/";
-our @architectures             = ( "i386", "m68k", "alpha", "sparc", "powerpc", "arm", "hppa", "ia64", "mips", "mipsel", "s390" );
+our @architectures             = ( "i386", "amd64", "alpha", "sparc", "powerpc", "arm", "hppa", "ia64", "mips", "mipsel", "s390" );
 our @sections          = ( "main", "contrib", "non-free" );
 our @priorities                = ( "serious", "grave", "critical" );
 our @skiptags          = ( );
index b5154a5..37931f7 100644 (file)
@@ -205,7 +205,7 @@ sub scanspooldir() {
                                        bug => $f, 
                                        status => $bug, 
                                        dist => $dist, 
-                                       arch => [ qw(alpha amd64 arm hppa i386 ia64 mips mipsel powerpc s390 sparc) ]
+                                       arch => \@bugcfg::architectures
                                );
 
                                # ignore bugs that are absent/fixed in this distribution, include everything