summaryrefslogtreecommitdiff
path: root/src/problems.c
diff options
context:
space:
mode:
authorMichael Schroeder <mls@suse.de>2013-03-22 16:42:44 +0100
committerMichael Schroeder <mls@suse.de>2013-03-22 16:42:44 +0100
commit646a92ed488b5aaddaacbb825a03c1f4cbfc1d9e (patch)
treecf31ea4d9a62dfefc201a14b18657c0a87de625b /src/problems.c
parentf213feee97c4b5b7365e3e3b4d25a7e6365f1486 (diff)
downloadlibsolv-646a92ed488b5aaddaacbb825a03c1f4cbfc1d9e.tar.gz
libsolv-646a92ed488b5aaddaacbb825a03c1f4cbfc1d9e.tar.bz2
libsolv-646a92ed488b5aaddaacbb825a03c1f4cbfc1d9e.zip
rename "NOOBSOLETES" to "MULTIVERSION"
The name was always not very fitting, but newer rpm versions do look at the obsoletes and just don't remove packages with the same name, which makes the old name even worse. So rename to "multiversion", which seems to be what many package managers use anyway.
Diffstat (limited to 'src/problems.c')
-rw-r--r--src/problems.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/problems.c b/src/problems.c
index 11db5fe..9c23f43 100644
--- a/src/problems.c
+++ b/src/problems.c
@@ -470,7 +470,7 @@ convertsolution(Solver *solv, Id why, Queue *solutionq)
if (rp > 0 && solv->decisionmap[rp] > 0 && pool->solvables[rp].repo != solv->installed)
{
mvrp = rp;
- if (!(solv->noobsoletes.size && MAPTST(&solv->noobsoletes, rp)))
+ if (!(solv->multiversion.size && MAPTST(&solv->multiversion, rp)))
break;
}
}
@@ -520,7 +520,7 @@ convertsolution(Solver *solv, Id why, Queue *solutionq)
if (rp > 0 && solv->decisionmap[rp] > 0 && pool->solvables[rp].repo != solv->installed)
{
mvrp = rp;
- if (!(solv->noobsoletes.size && MAPTST(&solv->noobsoletes, rp)))
+ if (!(solv->multiversion.size && MAPTST(&solv->multiversion, rp)))
break;
}
if (!rp && mvrp)