diff options
author | Bogdano Arendartchuk <bogdano@mandriva.org> | 2007-11-12 20:37:38 +0000 |
---|---|---|
committer | Bogdano Arendartchuk <bogdano@mandriva.org> | 2007-11-12 20:37:38 +0000 |
commit | 7e0e0014427a3609d3102e47446cfad7d3c52624 (patch) | |
tree | 9dd86e32a0f8d6f4355b3977361832cd2e4ad37a /RepSys | |
parent | 7962bd00f97b35136897039bba9e7eb629d1e4b8 (diff) | |
download | mgarepo-7e0e0014427a3609d3102e47446cfad7d3c52624.tar mgarepo-7e0e0014427a3609d3102e47446cfad7d3c52624.tar.gz mgarepo-7e0e0014427a3609d3102e47446cfad7d3c52624.tar.bz2 mgarepo-7e0e0014427a3609d3102e47446cfad7d3c52624.tar.xz mgarepo-7e0e0014427a3609d3102e47446cfad7d3c52624.zip |
Fix: don't use versions/ when using -v option of getsrpm
Diffstat (limited to 'RepSys')
-rw-r--r-- | RepSys/rpmutil.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/RepSys/rpmutil.py b/RepSys/rpmutil.py index 865e2dd..69692f1 100644 --- a/RepSys/rpmutil.py +++ b/RepSys/rpmutil.py @@ -58,7 +58,7 @@ def get_srpm(pkgdirurl, patchdir = "--define '_patchdir %s/%s'" % (tmpdir, "SOURCES") try: if mode == "version": - geturl = os.path.join(pkgdirurl, "versions", + geturl = os.path.join(pkgdirurl, "releases", version, release) elif mode == "pristine": geturl = os.path.join(pkgdirurl, "pristine") |