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:
3a309d8
)
Only consider installed files when looking at removed dependencies
author
Panu Matilainen
<pmatilai@redhat.com>
Thu, 1 Sep 2011 09:39:06 +0000
(12:39 +0300)
committer
Panu Matilainen
<pmatilai@redhat.com>
Thu, 1 Sep 2011 09:39:06 +0000
(12:39 +0300)
- Non-installed files cannot very well have dependencies, this
eliminates some bogosities from those cases.
lib/depends.c
patch
|
blob
|
history
diff --git
a/lib/depends.c
b/lib/depends.c
index
d025f4e
..
75d7830
100644
(file)
--- a/
lib/depends.c
+++ b/
lib/depends.c
@@
-571,7
+571,8
@@
int rpmtsCheck(rpmts ts)
}
while (rpmfiNext(fi) >= 0) {
- checkInstDeps(ts, dcache, p, RPMTAG_REQUIRENAME, rpmfiFN(fi));
+ if (RPMFILE_IS_INSTALLED(rpmfiFState(fi)))
+ checkInstDeps(ts, dcache, p, RPMTAG_REQUIRENAME, rpmfiFN(fi));
}
}
rpmtsiFree(pi);