diff options
-rw-r--r-- | MgaRepo/simplerpm.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/MgaRepo/simplerpm.py b/MgaRepo/simplerpm.py index 1080c93..a162133 100644 --- a/MgaRepo/simplerpm.py +++ b/MgaRepo/simplerpm.py @@ -14,8 +14,8 @@ class SRPM: self.epoch = None def unpack(self, topdir): - execcmd("rpm -i --define '_sourcedir %s/SOURCES' " + - "--define '_specdir %s/SPECS' --define '_patchdir %s/SPECS' %s" + execcmd(("rpm -i --define '_sourcedir %s/SOURCES' " + + "--define '_specdir %s/SPECS' --define '_patchdir %s/SPECS' %s") % (topdir, topdir, topdir, self.filename)) # vim:et:ts=4:sw=4 |