]> git.ipfire.org Git - thirdparty/libsolv.git/commitdiff
support 'recommends' in repo_mdk.c for mageia
authorMichael Schroeder <mls@suse.de>
Mon, 14 Sep 2015 10:19:24 +0000 (12:19 +0200)
committerMichael Schroeder <mls@suse.de>
Mon, 14 Sep 2015 10:19:24 +0000 (12:19 +0200)
ext/repo_mdk.c

index 3d0a91da0875db5a7ea0aec96c67783c0cc95c41..345d416721ccea8bc8ebffe1b9de6a4d2db45fdc 100644 (file)
@@ -123,6 +123,8 @@ repo_add_mdk(Repo *repo, FILE *fp, int flags)
        s->provides = parse_deps(s, buf + 10, 0);
       else if (!strncmp(buf + 1, "requires@", 9))
        s->requires = parse_deps(s, buf + 10, SOLVABLE_PREREQMARKER);
+      else if (!strncmp(buf + 1, "recommends@", 11))
+       s->recommends = parse_deps(s, buf + 10, 0);
       else if (!strncmp(buf + 1, "suggests@", 9))
        s->suggests = parse_deps(s, buf + 10, 0);
       else if (!strncmp(buf + 1, "obsoletes@", 10))