//rpmlog(RPMLOG_DEBUG, "rpmteN(ctx->te) %s fc->pkg_name: %s\n", rpmteN(ctx->te), fc->pkg_name);
/* There is a conflict, see if we are not allowed to overwrite */
if ((!current ||
- (strcmp(current->rankkey, fc->sw_source->rankkey) >= 0)) &&
+ (strcmp(current->rankkey, fc->sw_source->rankkey) > 0)) &&
(strcmp(rpmteN(ctx->te), fc->pkg_name))) {
- rpmlog(RPMLOG_ERR, "%s has file conflict in %s from sw source %s\n",
+ rpmlog(RPMLOG_ERR, "%s has file security conflict in %s from sw source %s\n",
rpmteN(ctx->te), fc->path, fc->sw_source->name);
return RPMRC_FAIL;
}