diff options
author | Michael Schroeder <mls@suse.de> | 2014-04-04 18:46:07 +0200 |
---|---|---|
committer | Michael Schroeder <mls@suse.de> | 2014-04-04 18:46:07 +0200 |
commit | 05f78a79005deadbb1ce69cbbf6219990ac74e71 (patch) | |
tree | aa55a332c59e0b51c5ecd4db96ad6bdc4122b150 /bindings/solv.i | |
parent | 0c7c5a5d75bdb61398146e5b7c633c164198620c (diff) | |
download | libsolv-05f78a79005deadbb1ce69cbbf6219990ac74e71.tar.gz libsolv-05f78a79005deadbb1ce69cbbf6219990ac74e71.tar.bz2 libsolv-05f78a79005deadbb1ce69cbbf6219990ac74e71.zip |
do not count problem resolution install jobs as userinstalled
Diffstat (limited to 'bindings/solv.i')
-rw-r--r-- | bindings/solv.i | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/bindings/solv.i b/bindings/solv.i index 41cb49a..23e7f20 100644 --- a/bindings/solv.i +++ b/bindings/solv.i @@ -848,6 +848,7 @@ typedef struct { static const Id SOLVER_CLEANDEPS = SOLVER_CLEANDEPS; static const Id SOLVER_FORCEBEST = SOLVER_FORCEBEST; static const Id SOLVER_TARGETED = SOLVER_TARGETED; + static const Id SOLVER_NOTBYUSER = SOLVER_NOTBYUSER; static const Id SOLVER_SETEV = SOLVER_SETEV; static const Id SOLVER_SETEVR = SOLVER_SETEVR; static const Id SOLVER_SETARCH = SOLVER_SETARCH; @@ -2692,9 +2693,9 @@ rb_eval_string( if ($self->type == SOLVER_SOLUTION_JOB || SOLVER_SOLUTION_POOLJOB) return new_Job($self->solv->pool, SOLVER_NOOP, 0); if ($self->type == SOLVER_SOLUTION_INFARCH || $self->type == SOLVER_SOLUTION_DISTUPGRADE || $self->type == SOLVER_SOLUTION_BEST) - return new_Job($self->solv->pool, SOLVER_INSTALL|SOLVER_SOLVABLE|extraflags, $self->p); + return new_Job($self->solv->pool, SOLVER_INSTALL|SOLVER_SOLVABLE|SOLVER_NOTBYUSER|extraflags, $self->p); if ($self->type == SOLVER_SOLUTION_REPLACE || $self->type == SOLVER_SOLUTION_REPLACE_DOWNGRADE || $self->type == SOLVER_SOLUTION_REPLACE_ARCHCHANGE || $self->type == SOLVER_SOLUTION_REPLACE_VENDORCHANGE || $self->type == SOLVER_SOLUTION_REPLACE_NAMECHANGE) - return new_Job($self->solv->pool, SOLVER_INSTALL|SOLVER_SOLVABLE|extraflags, $self->rp); + return new_Job($self->solv->pool, SOLVER_INSTALL|SOLVER_SOLVABLE|SOLVER_NOTBYUSER|extraflags, $self->rp); if ($self->type == SOLVER_SOLUTION_ERASE) return new_Job($self->solv->pool, SOLVER_ERASE|SOLVER_SOLVABLE|extraflags, $self->p); return 0; |