--- pkgcmp.c~ 2008-02-02 22:49:04.000000000 +0100 +++ pkgcmp.c 2008-11-19 01:00:37.123524800 +0100 @@ -84,11 +84,8 @@ if (pkg->color && candidate->color) return pkg->color & candidate->color; - /* same name and candidate without color -> promote candidate */ - if (pkg->color && pkg_is_kind_of(candidate, pkg)) - return 1; - - return 0; + /* either new or old package contains no binary files, let it happen */ + return 1; } int pkg_eq_capreq(const struct pkg *pkg, const struct capreq *cr)