2006-02-18 Frank Lichtenheld <djpig@debian.org>
+ * scripts/dpkg-gencontrol.pl: Call parsedep
+ with use_arch and reduce_arch parameters to
+ allow using architectures in dependency
+ fields of binary packages in debian/control.
+
* scripts/dpkg-gencontrol.pl: Fix handling of
debian/files when architecture is set via -D
command line option. The value override was
[ Frank Lichtenheld ]
* Fix handling of -DArchitecure=foo in dpkg-gencontrol. Closes: #251911
+ * Handle architectures in all dependency fields in debian/control,
+ even those of binary packages. Closes: #252657, #324741, #347819
-- Frank Lichtenheld <frank@lichtenheld.de> Sat, 18 Feb 2006 19:01:24 +0100
} elsif (s/^C$myindex //) {
if (m/^(Package|Description|Essential|Optional)$/) {
} elsif (exists($pkg_dep_fields{$_})) {
- my $dep = parsedep(substvars($v));
+ my $dep = parsedep(substvars($v), 1, 1);
&error("error occoured while parsing $_") unless defined $dep;
$f{$_}= showdep($dep, 0);
} elsif (m/^Section$|^Priority$/) {