Patch modified to use a string comparison: diff --git a/lib/Sbuild/Build.pm b/lib/Sbuild/Build.pm index 64127bf..d1b1367 100644 --- a/lib/Sbuild/Build.pm +++ b/lib/Sbuild/Build.pm @@ -1310,7 +1310,7 @@ sub check_dependencies (\$\@) { if (!$dep->{'Rel'}) { $fail .= "$name(still installed) "; } - elsif ($stat->{'Version'} == '~*=PROVIDED=*=') { + elsif ($stat->{'Version'} eq '~*=PROVIDED=*=') { # It's a versioned build-conflict, but we installed # a package that provides the conflicted package. It's ok. }
-- .''`. Roger Leigh : :' : Debian GNU/Linux http://people.debian.org/~rleigh/ `. `' Printing on GNU/Linux? http://gutenprint.sourceforge.net/ `- GPG Public Key: 0x25BFB848 Please GPG sign your mail.
pgp7aazFoKIRW.pgp
Description: PGP signature