diff options
Diffstat (limited to 'RepSys/rpmutil.py')
-rw-r--r-- | RepSys/rpmutil.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/RepSys/rpmutil.py b/RepSys/rpmutil.py index 3df9818..7b6446f 100644 --- a/RepSys/rpmutil.py +++ b/RepSys/rpmutil.py @@ -67,7 +67,7 @@ def get_srpm(pkgdirurl, packager = " --define 'packager %s'" % packager execcmd("rpm -bs --nodeps --define '_topdir %s'%s %s" % (tmpdir, packager, spec)) - if revname: + if revision: srpm = glob.glob(os.path.join(srpmsdir, "*.src.rpm"))[0] srpmbase = os.path.basename(srpm) os.rename(srpm, "%s/@%i:%s" % (srpmsdir, revision, srpmbase)) |