aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--URPM.xs2
1 files changed, 1 insertions, 1 deletions
diff --git a/URPM.xs b/URPM.xs
index 175d657..3750fd0 100644
--- a/URPM.xs
+++ b/URPM.xs
@@ -1050,7 +1050,7 @@ parse_line(AV *depslist, HV *provides, HV *obsoletes, URPM__Package pkg, char *b
char **ptr = NULL;
if (!strcmp(tag, "requires"))
ptr = &pkg->requires;
- else if (!strcmp(tag, "suggests"))
+ else if (!strcmp(tag, "suggests") || !strcmp(tag, "recommends"))
ptr = &pkg->recommends;
else if (!strcmp(tag, "obsoletes"))
ptr = &pkg->obsoletes;