CVS patchset: 6846
CVS date: 2003/05/15 14:22:30
- fix: cut-n-paste error setting nopromote for Conflicts: (#81965).
- don't use error string after gzclose (Dmitry V. Levin).
- fix: nested %if handling, optind initialization posix vs. glibc.
+ - add version check for package with provides and obsoletes.
4.1 -> 4.2:
- set cachesize without a dbenv, the default is far too small.
*/
if (rpmdsEVR(obsoletes) == NULL
|| rpmdsAnyMatchesDep(oh, obsoletes, _rpmds_nopromote))
- xx = removePackage(ts, oh, rpmdbGetIteratorOffset(mi), pkgKey);
+ if (rpmVersionCompare(h, oh))
+ xx = removePackage(ts, oh, rpmdbGetIteratorOffset(mi), pkgKey);
}
mi = rpmdbFreeIterator(mi);
}