aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS2
-rw-r--r--URPM.xs2
2 files changed, 3 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 78f6714..c26e344 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,5 @@
+- recognize "recommends" lines in synthesis
+
Version 4.50 - 14 September 2014
- make it compatible with rpm-4.12.0
diff --git a/URPM.xs b/URPM.xs
index 80552fb..d03ccb7 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->suggests;
else if (!strcmp(tag, "obsoletes"))
ptr = &pkg->obsoletes;