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 | |
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
-rw-r--r-- | CHANGES | 3 | ||||
-rw-r--r-- | RepSys/rpmutil.py | 2 |
2 files changed, 4 insertions, 1 deletions
@@ -1,3 +1,6 @@ +* 1.6.20 +- fixed bad url used when using -v in getsrpm + * 1.6.19 - added complement for SILENT: CLOG, which hides everything that does not start with this token 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") |