aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBogdano Arendartchuk <bogdano@mandriva.org>2007-11-12 20:37:38 +0000
committerBogdano Arendartchuk <bogdano@mandriva.org>2007-11-12 20:37:38 +0000
commit7e0e0014427a3609d3102e47446cfad7d3c52624 (patch)
tree9dd86e32a0f8d6f4355b3977361832cd2e4ad37a
parent7962bd00f97b35136897039bba9e7eb629d1e4b8 (diff)
downloadmgarepo-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--CHANGES3
-rw-r--r--RepSys/rpmutil.py2
2 files changed, 4 insertions, 1 deletions
diff --git a/CHANGES b/CHANGES
index cb649df..fb28031 100644
--- a/CHANGES
+++ b/CHANGES
@@ -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")