in the .dsc file.
+2007-06-06 Guillem Jover <guillem@debian.org>
+
+ * scripts/dpkg-source.pl (%archadded): Move to an outer scope to
+ avoid duped entries in the output Architecture field.
+
2007-05-24 Guillem Jover <guillem@debian.org>
* ostable: Add gnulp-linux.
[ Guillem Jover ]
* Add lpia support to ostable and triplettable.
+ * Fix dpkg-source to not emit duplicated entries for the Architecture field
+ in the .dsc file.
[ Updated dselect translations ]
* French (Christian Perrier)
&init_substvars;
my @sourcearch;
+ my %archadded;
my $archspecific = 0; # XXX: Not used?!
my %packageadded;
my @binarypackages;
if (@sourcearch && grep($sourcearch[0] eq $_, 'any', 'all')) {
@sourcearch= ('any');
} else {
- my %archadded;
-
for my $a (split(/\s+/, $v)) {
&error(sprintf(_g("`%s' is not a legal architecture string"), $a))
unless $a =~ /^[\w-]+$/;