[yum-commits] yum-builddep.py
James Antill
james at osuosl.org
Fri Jan 29 15:22:45 UTC 2010
yum-builddep.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 4b55a2cd55e8acef869b5670d1f820c74c0527c1
Author: James Antill <james at and.org>
Date: Fri Jan 29 10:22:35 2010 -0500
Don't refer to opts.source in yum-builddep
diff --git a/yum-builddep.py b/yum-builddep.py
index 1e2d7ee..2632b71 100755
--- a/yum-builddep.py
+++ b/yum-builddep.py
@@ -37,7 +37,7 @@ import rpm
# if pkg.version not in pkg.sourcerpm:
# print pkg, pkg.sourcerpm
def _best_convert_pkg2srcpkgs(self, opts, pkg):
- if not opts.source or pkg.arch == 'src':
+ if pkg.arch == 'src':
return [pkg]
(n,v,r,e,a) = rpmUtils.miscutils.splitFilename(pkg.sourcerpm)
More information about the Yum-commits
mailing list