aboutsummaryrefslogtreecommitdiffstats
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
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
-rw-r--r--CHANGES1
-rw-r--r--RepSys/rpmutil.py2
2 files changed, 2 insertions, 1 deletions
diff --git a/CHANGES b/CHANGES
index cad4d65..46aab54 100644
--- a/CHANGES
+++ b/CHANGES
@@ -1,4 +1,5 @@
* 1.6.19.1
+- fixed bad url used when using -v in getsrpm
- the fix for the unreleased commits problem in the previous release was
wrong, really fixed it
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")