diff options
Diffstat (limited to 'RepSys')
-rw-r--r-- | RepSys/rpmutil.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/RepSys/rpmutil.py b/RepSys/rpmutil.py index fd06627..8cc7034 100644 --- a/RepSys/rpmutil.py +++ b/RepSys/rpmutil.py @@ -402,6 +402,7 @@ def sync(dryrun=False): raise Error, "no .spec files found in %s" % specsdir specpath = specs[0] # FIXME better way? try: + rpm.addMacro("_topdir", os.path.abspath(topdir)) spec = rpm.TransactionSet().parseSpec(specpath) except rpm.error, e: raise Error, "could not load spec file: %s" % e |