diff options
author | Michael Schroeder <mls@suse.de> | 2013-04-26 14:49:55 +0200 |
---|---|---|
committer | Michael Schroeder <mls@suse.de> | 2013-04-26 14:49:55 +0200 |
commit | 982e0fa340f1bbbeee589f322b0b6757fa4597c4 (patch) | |
tree | c8ced36f65025eda7592a0dc91709ac1b617c699 /ext | |
parent | b188af052a5091e05ea8b4e35b25b0456a88b09d (diff) | |
download | libsolv-982e0fa340f1bbbeee589f322b0b6757fa4597c4.tar.gz libsolv-982e0fa340f1bbbeee589f322b0b6757fa4597c4.tar.bz2 libsolv-982e0fa340f1bbbeee589f322b0b6757fa4597c4.zip |
bring libsolv in line with currrent rpm's multiversion handling
A multiversion install still obeys the obsoletes of a package.
The solver already had a flag to support this, "keepexplicitobsoletes",
but as this is a feature of the package manager it belongs in the
pool, so that the transaction code can do the right thing.
We now have a "noobsoletesmultiversion" flag in the pool that also
defines the default for "keepexplicitobsoletes".
Diffstat (limited to 'ext')
-rw-r--r-- | ext/testcase.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/testcase.c b/ext/testcase.c index 72f9dc8..dd8f687 100644 --- a/ext/testcase.c +++ b/ext/testcase.c @@ -112,6 +112,7 @@ static struct poolflags2str { { POOL_FLAG_OBSOLETEUSESCOLORS, "obsoleteusescolors", 0 }, { POOL_FLAG_NOINSTALLEDOBSOLETES, "noinstalledobsoletes", 0 }, { POOL_FLAG_HAVEDISTEPOCH, "havedistepoch", 0 }, + { POOL_FLAG_NOOBSOLETESMULTIVERSION, "noobsoletesmultiversion", 0 }, { 0, 0, 0 } }; |