+2007-09-06 Guillem Jover <guillem@debian.org>
+
+ * scripts/dpkg-genchanges.pl: Stop recognizing the obsolete Optional
+ field.
+ * scripts/dpkg-gencontrol.pl: Likewise.
+ * scripts/dpkg-source.pl: Likewise.
+
2007-09-06 Guillem Jover <guillem@debian.org>
* scripts/dpkg-name.sh: Avoid escaped quotes messing with syntax
822-date. Closes: #440962
* Document in dpkg-scanpackages that apt now requires Packages.bz2 instead
of Packages.gz. Closes: #440973
+ * Stop recognizing the obsolete Optional field when building packages.
[ Updated dpkg translations ]
* Portuguese (Miguel Figueiredo).
}
push(@archvalues,$v) unless !$v || $archadded{$v}++;
} elsif (m/^(Package|Essential|Pre-Depends|Depends|Provides)$/ ||
- m/^(Recommends|Suggests|Enhances|Optional|Conflicts|Breaks|Replaces)$/ ||
+ m/^(Recommends|Suggests|Enhances|Conflicts|Breaks|Replaces)$/ ||
m/^Tag$/i ||
m/^X[BS]+-/i) {
} else {
else { $_ = "C $_"; &unknown(_g('general section of control info file')); }
} elsif (s/^C$myindex //) {
#print STDERR "P key >$_< value >$v<\n";
- if (m/^(Package|Description|Homepage|Tag|Essential|Optional)$/) {
+ if (m/^(Package|Description|Homepage|Tag|Essential)$/) {
$f{$_}= $v;
} elsif (exists($pkg_dep_fields{$_})) {
# Delay the parsing until later
} elsif (s/^X[BC]*S[BC]*-//i) {
$f{$_}= $v;
} elsif (m/^(Package|Essential|Pre-Depends|Depends|Provides)$/i ||
- m/^(Recommends|Suggests|Optional|Conflicts|Replaces)$/i ||
+ m/^(Recommends|Suggests|Conflicts|Replaces)$/i ||
m/^(Breaks|Enhances|Description|Tag|Section|Priority)$/i ||
m/^X[BC]+-/i) {
} else {