diff options
author | Olivier Thauvin <nanardon@mageia.org> | 2011-01-14 12:52:31 +0000 |
---|---|---|
committer | Olivier Thauvin <nanardon@mageia.org> | 2011-01-14 12:52:31 +0000 |
commit | 955e07b6ebab91999b494ffa8397b5f6e3ac727f (patch) | |
tree | e0390eae8656d54ea3099a4696965edef9f91649 /MgaRepo/simplerpm.py | |
parent | 90332f3ae4e0c8695d400e504e44f01341690d5e (diff) | |
download | mgarepo-955e07b6ebab91999b494ffa8397b5f6e3ac727f.tar mgarepo-955e07b6ebab91999b494ffa8397b5f6e3ac727f.tar.gz mgarepo-955e07b6ebab91999b494ffa8397b5f6e3ac727f.tar.bz2 mgarepo-955e07b6ebab91999b494ffa8397b5f6e3ac727f.tar.xz mgarepo-955e07b6ebab91999b494ffa8397b5f6e3ac727f.zip |
- fix string formating
Diffstat (limited to 'MgaRepo/simplerpm.py')
-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 |