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-14 00:30:44 +0200
commit333caa83c8d96aa6449f5b2abbbac4b86258ca7e (patch)
treebe5445be928e98c4a0b81a513e4a5ed9b9a09e23
parent80b1e4cb2bd80b5483272096b0482100e5db81d1 (diff)
downloadperl-URPM-333caa83c8d96aa6449f5b2abbbac4b86258ca7e.tar
perl-URPM-333caa83c8d96aa6449f5b2abbbac4b86258ca7e.tar.gz
perl-URPM-333caa83c8d96aa6449f5b2abbbac4b86258ca7e.tar.bz2
perl-URPM-333caa83c8d96aa6449f5b2abbbac4b86258ca7e.tar.xz
perl-URPM-333caa83c8d96aa6449f5b2abbbac4b86258ca7e.zip
recognize "recommends" lines in synthesistopic/infra4
Conflicts: URPM.xs
-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;