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:
5a5f1fa
)
depends.c: save us one rpmdsNew in addObsoleteErasures.
author
Ales Kozumplik
<akozumpl@redhat.com>
Wed, 4 Jan 2012 12:50:27 +0000
(13:50 +0100)
committer
Ales Kozumplik
<akozumpl@redhat.com>
Wed, 4 Jan 2012 13:13:01 +0000
(14:13 +0100)
- replaces rpmdsAnyMatchesDep with rpmdsNVRMatchesDep
lib/depends.c
patch
|
blob
|
history
diff --git
a/lib/depends.c
b/lib/depends.c
index
5d68df8
..
2bc25bc
100644
(file)
--- a/
lib/depends.c
+++ b/
lib/depends.c
@@
-193,7
+193,7
@@
static void addObsoleteErasures(rpmts ts, rpm_color_t tscolor, rpmte p)
* If no obsoletes version info is available, match all names.
*/
if (rpmdsEVR(obsoletes) == NULL
-
|| rpmdsAny
MatchesDep(oh, obsoletes, _rpmds_nopromote)) {
+
|| rpmdsNVR
MatchesDep(oh, obsoletes, _rpmds_nopromote)) {
char * ohNEVRA = headerGetAsString(oh, RPMTAG_NEVRA);
rpmlog(RPMLOG_DEBUG, " Obsoletes: %s\t\terases %s\n",
rpmdsDNEVR(obsoletes)+2, ohNEVRA);