diff options
author | Thierry Vignaud <thierry.vignaud@gmail.com> | 2014-08-27 16:19:52 +0200 |
---|---|---|
committer | Thierry Vignaud <thierry.vignaud@gmail.com> | 2014-09-14 00:30:44 +0200 |
commit | 333caa83c8d96aa6449f5b2abbbac4b86258ca7e (patch) | |
tree | be5445be928e98c4a0b81a513e4a5ed9b9a09e23 | |
parent | 80b1e4cb2bd80b5483272096b0482100e5db81d1 (diff) | |
download | perl-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-- | NEWS | 2 | ||||
-rw-r--r-- | URPM.xs | 2 |
2 files changed, 3 insertions, 1 deletions
@@ -1,3 +1,5 @@ +- recognize "recommends" lines in synthesis + Version 4.50 - 14 September 2014 - make it compatible with rpm-4.12.0 @@ -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; |