This basically strips the spaces from the relops and uses ',' for
REL_WITH and '|' for REL_OR.
if (!ISRELDEP(id))
return "";
rd = GETRELDEP(pool, id);
+
+#ifdef ENABLE_CONDA
+ if (pool->disttype == DISTTYPE_CONDA)
+ {
+ static const char *condarels[] = { "!", ">", "=", ">=", "<", "!=", "<=", "<=>" };
+ if (rd->flags < 8)
+ return condarels[rd->flags];
+ if (rd->flags == REL_WITH)
+ return ",";
+ if (rd->flags == REL_OR)
+ return "|";
+ }
+#endif
+
switch (rd->flags)
{
/* debian special cases < and > */