aboutsummaryrefslogtreecommitdiffstats
path: root/URPM.xs
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-14 00:30:44 +0200
commit333caa83c8d96aa6449f5b2abbbac4b86258ca7e (patch)
treebe5445be928e98c4a0b81a513e4a5ed9b9a09e23 /URPM.xs
parent80b1e4cb2bd80b5483272096b0482100e5db81d1 (diff)
downloadperl-URPM-topic/infra4.tar
perl-URPM-topic/infra4.tar.gz
perl-URPM-topic/infra4.tar.bz2
perl-URPM-topic/infra4.tar.xz
perl-URPM-topic/infra4.zip
recognize "recommends" lines in synthesistopic/infra4
Conflicts: URPM.xs
Diffstat (limited to 'URPM.xs')
-rw-r--r--URPM.xs2
1 files changed, 1 insertions, 1 deletions
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;