aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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")