aboutsummaryrefslogtreecommitdiffstats
path: root/RepSys
diff options
context:
space:
mode:
authorBogdano Arendartchuk <bogdano@mandriva.org>2007-11-14 22:52:29 +0000
committerBogdano Arendartchuk <bogdano@mandriva.org>2007-11-14 22:52:29 +0000
commit4eea70a2f212a3cf20975f63ad15597da37d40c9 (patch)
tree95296fb050746c317f90060055afb539363e34b9 /RepSys
parent297d5faebd1da57bc9dff9e24eea43f9b7d7c5b8 (diff)
downloadmgarepo-4eea70a2f212a3cf20975f63ad15597da37d40c9.tar
mgarepo-4eea70a2f212a3cf20975f63ad15597da37d40c9.tar.gz
mgarepo-4eea70a2f212a3cf20975f63ad15597da37d40c9.tar.bz2
mgarepo-4eea70a2f212a3cf20975f63ad15597da37d40c9.tar.xz
mgarepo-4eea70a2f212a3cf20975f63ad15597da37d40c9.zip
Fix: don't use versions/ when using -v option of getsrpm
Diffstat (limited to 'RepSys')
-rw-r--r--RepSys/rpmutil.py2
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")