diff options
Diffstat (limited to 'RepSys')
-rw-r--r-- | RepSys/rpmutil.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/RepSys/rpmutil.py b/RepSys/rpmutil.py index 651d19f..a8d0b4a 100644 --- a/RepSys/rpmutil.py +++ b/RepSys/rpmutil.py @@ -385,7 +385,8 @@ def sync(dryrun=False): spec = rpm.TransactionSet().parseSpec(specpath) except rpm.error, e: raise Error, "could not load spec file: %s" % e - sources = [name for name, x, y in spec.sources()] + sources = [os.path.basename(name) + for name, no, flags in spec.sources()] sourcesst = dict((os.path.basename(path), st) for st, path in svn.status(sourcesdir, noignore=True)) toadd = [] |