There should be a space before the bracket.
[oweals/opkg-lede.git] / libopkg / pkg.c
index e37806b711753e98563f50d5b848cf549498f2ed..e6d76a6bc68056f190247dd7ee2bc217163baa0d 100644 (file)
@@ -578,7 +578,7 @@ void pkg_formatted_field(FILE *fp, pkg_t *pkg, const char *field)
                         fprintf(fp, "%s %s", i == 0 ? "" : ",",
                                cdep->pkg->name);
                        if (cdep->version) {
                         fprintf(fp, "%s %s", i == 0 ? "" : ",",
                                cdep->pkg->name);
                        if (cdep->version) {
-                               fprintf(fp, "(%s%s)",
+                               fprintf(fp, " (%s%s)",
                                        constraint_to_str(cdep->constraint),
                                        cdep->version);
                        }
                                        constraint_to_str(cdep->constraint),
                                        cdep->version);
                        }