Explicitely ignore all known fields from the control file source package
stanza in dpkg-genchanges, instead of leaving unknown fields unwarned.
+2007-08-31 Guillem Jover <guillem@debian.org>
+
+ * scripts/dpkg-genchanges.pl: Do not leave unknown fields unwarned
+ and explicitely ignore all known ones from control file source
+ package stanza.
+
2007-08-30 Guillem Jover <guillem@debian.org>
* scripts/dpkg-genchanges.pl: Ignore XB- fields instead of XC- fields
* Implement support for Homepage field. Closes: #142324
* Ignore XB- fields instead of XC- fields from control file binary package
stanzas in dpkg-genchanges.
+ * Explicitely ignore all known fields from the control file source package
+ stanza in dpkg-genchanges, instead of leaving unknown fields unwarned.
[ Updated scripts translations ]
* French (Frédéric Bothamy, Christian Perrier).
elsif (m/^Section$|^Priority$/i) { $sourcedefault{$_}= $v; }
elsif (m/^Maintainer$/i) { $f{$_}= $v; }
elsif (s/^X[BS]*C[BS]*-//i) { $f{$_}= $v; }
- elsif (m/|^X[BS]+-|^Standards-Version$|^Homepage$/i) { }
+ elsif (m/^X[BS]+-/i ||
+ m/^Build-(Depends|Conflicts)(-Indep)?$/i ||
+ m/^(Standards-Version|Uploaders|Homepage|Origin|Bugs)$/i) {
+ }
else { &unknown(_g('general section of control info file')); }
} elsif (s/^C(\d+) //) {
my $i = $1;