diff options
Diffstat (limited to 'src/pool.c')
-rw-r--r-- | src/pool.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -82,6 +82,7 @@ pool_create(void) pool->obsoleteusescolors = 1; #endif #ifdef RPM5 + pool->noobsoletesmultiversion = 1; pool->forbidselfconflicts = 1; pool->obsoleteusesprovides = 1; pool->implicitobsoleteusesprovides = 1; @@ -171,6 +172,8 @@ pool_get_flag(Pool *pool, int flag) return pool->noinstalledobsoletes; case POOL_FLAG_HAVEDISTEPOCH: return pool->havedistepoch; + case POOL_FLAG_NOOBSOLETESMULTIVERSION: + return pool->noobsoletesmultiversion; default: break; } @@ -204,6 +207,9 @@ pool_set_flag(Pool *pool, int flag, int value) case POOL_FLAG_HAVEDISTEPOCH: pool->havedistepoch = value; break; + case POOL_FLAG_NOOBSOLETESMULTIVERSION: + pool->noobsoletesmultiversion = value; + break; default: break; } |