From: Raphael Hertzog Date: Sat, 19 Jan 2008 22:11:22 +0000 (+0100) Subject: dpkg-checkbuilddeps: fix a bug in handling of build-conflicts X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2dc6638e254500380e9cb4b3e375a296088930c3;p=dpkg dpkg-checkbuilddeps: fix a bug in handling of build-conflicts --- diff --git a/ChangeLog b/ChangeLog index d70be27e..de58c63a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -4,6 +4,9 @@ Dpkg::Changelog::parse_changelog() instead of calling dpkg-parsechangelog. + * scripts/dpkg-checkbuilddeps.pl: Fix a bug left-over from the + switch to Dpkg::Control. + 2008-01-18 Raphael Hertzog * scripts/Dpkg/Shlibs/SymbolFile.pm, diff --git a/scripts/dpkg-checkbuilddeps.pl b/scripts/dpkg-checkbuilddeps.pl index 1a82dbca..49338e40 100755 --- a/scripts/dpkg-checkbuilddeps.pl +++ b/scripts/dpkg-checkbuilddeps.pl @@ -56,7 +56,7 @@ if (defined($fields->{"Build-Depends"})) { Dpkg::Deps::parse($fields->{"Build-Depends"}, reduce_arch => 1), $facts); } -if (defined($fields->{"C Build-Conflicts"})) { +if (defined($fields->{"Build-Conflicts"})) { push @conflicts, build_conflicts('Build-Conflicts', Dpkg::Deps::parse($fields->{"Build-Conflicts"}, reduce_arch => 1, union => 1), $facts);