aboutsummaryrefslogtreecommitdiffstats
path: root/MgaRepo
diff options
context:
space:
mode:
Diffstat (limited to 'MgaRepo')
-rw-r--r--MgaRepo/rpmutil.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/MgaRepo/rpmutil.py b/MgaRepo/rpmutil.py
index 325c0ce..53fb3b2 100644
--- a/MgaRepo/rpmutil.py
+++ b/MgaRepo/rpmutil.py
@@ -474,7 +474,8 @@ def checkout(pkgdirurl, path=None, revision=None, branch=None, distro=None,
mirror.info(current, write=True)
svn = SVN()
svn.checkout(current, path, rev=revision, show=1)
- binrepo.download_binaries(path)
+ if not spec:
+ binrepo.download_binaries(path)
def getpkgtopdir(basedir=None):
#FIXME this implementation doesn't work well with relative path names,