]> git.ipfire.org Git - thirdparty/libsolv.git/commitdiff
- also parse cudf provides ;)
authorMichael Schroeder <mls@suse.de>
Fri, 22 Jun 2012 14:00:47 +0000 (16:00 +0200)
committerMichael Schroeder <mls@suse.de>
Fri, 22 Jun 2012 14:00:47 +0000 (16:00 +0200)
ext/repo_cudf.c
tools/cudftest.c

index be693ff2add55913b229c5f7c114b8fad7332c25..5a759906205e200fe62d0e8805ed2e5342bc7861 100644 (file)
@@ -348,6 +348,11 @@ repo_add_cudf(Repo *repo, Repo *installedrepo, FILE *fp, Queue *job, int flags)
              s->name = pool_str2id(pool, p, 1);
              continue;
            }
+         if (!strcmp(buf, "provides"))
+           {
+             s->provides = makedeps(s->repo, p, s->provides, 0);
+             continue;
+           }
          break;
        case 'r':
          if (!strcmp(buf, "depends"))
index 05dea10a57834c74ea67286b3daf5bf32f6ea504..01ce1175893af0621a5afbd7315435f928998ac7 100644 (file)
@@ -98,6 +98,9 @@ main(int argc, char **argv)
 
   solv = solver_create(pool);
   solver_set_flag(solv, SOLVER_FLAG_ALLOW_UNINSTALL, 1);
+  /* solver_set_flag(solv, SOLVER_FLAG_IGNORE_RECOMMENDED, 1); */
+
+  queue_push2(&job, SOLVER_VERIFY, SOLVER_SOLVABLE_ALL);
   if (solver_solve(solv, &job) != 0)
     {
       int problem;