aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2014-08-27 16:19:52 +0200
committerThierry Vignaud <thierry.vignaud@gmail.com>2014-09-12 23:11:58 +0200
commited6bc6d37bf2a353fbba2c7235b7fab523a8f350 (patch)
tree54577279da77c96d145910dbd8fb190dbd06fa78
parentb8bbd4d92901dec029f564cb8744e04370e01330 (diff)
downloadperl-URPM-ed6bc6d37bf2a353fbba2c7235b7fab523a8f350.tar
perl-URPM-ed6bc6d37bf2a353fbba2c7235b7fab523a8f350.tar.gz
perl-URPM-ed6bc6d37bf2a353fbba2c7235b7fab523a8f350.tar.bz2
perl-URPM-ed6bc6d37bf2a353fbba2c7235b7fab523a8f350.tar.xz
perl-URPM-ed6bc6d37bf2a353fbba2c7235b7fab523a8f350.zip
recognize "recommends" lines in synthesis
-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;