projects
/
platform
/
upstream
/
rpm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
502f88e
)
Don't version compare obsolete with package header
author
pauln
<devnull@localhost>
Mon, 4 Oct 2004 15:03:43 +0000
(15:03 +0000)
committer
pauln
<devnull@localhost>
Mon, 4 Oct 2004 15:03:43 +0000
(15:03 +0000)
CVS patchset: 7427
CVS date: 2004/10/04 15:03:43
lib/depends.c
patch
|
blob
|
history
diff --git
a/lib/depends.c
b/lib/depends.c
index
19e1a77
..
5d76b2b
100644
(file)
--- a/
lib/depends.c
+++ b/
lib/depends.c
@@
-305,8
+305,7
@@
int rpmtsAddInstallElement(rpmts ts, Header h,
*/
if (rpmdsEVR(obsoletes) == NULL
|| rpmdsAnyMatchesDep(oh, obsoletes, _rpmds_nopromote))
- if (rpmVersionCompare(h, oh))
- xx = removePackage(ts, oh, rpmdbGetIteratorOffset(mi), pkgKey);
+ xx = removePackage(ts, oh, rpmdbGetIteratorOffset(mi), pkgKey);
}
mi = rpmdbFreeIterator(mi);
}