[yum-commits] yum-builddep.py
James Antill
james at osuosl.org
Mon Nov 23 15:04:43 UTC 2009
yum-builddep.py | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit c8e7823de9cb169f65f20fcdc57e39b9de3ca474
Author: James Antill <james at and.org>
Date: Mon Nov 23 10:01:13 2009 -0500
Don't rely on returnPackageByDep() to give you the installed pkg. BZ#539490
diff --git a/yum-builddep.py b/yum-builddep.py
index 264185e..f56bf07 100755
--- a/yum-builddep.py
+++ b/yum-builddep.py
@@ -146,6 +146,8 @@ class YumBuildDep(YumUtilBase):
for dep in srpm.requiresList():
if dep.startswith("rpmlib("):
continue
+ if self.returnInstalledPackagesByDep(dep):
+ continue
try:
pkg = self.returnPackageByDep(dep)
print pkg
More information about the Yum-commits
mailing list