aboutsummaryrefslogtreecommitdiffstats
path: root/MgaRepo
diff options
context:
space:
mode:
Diffstat (limited to 'MgaRepo')
-rw-r--r--MgaRepo/simplerpm.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/MgaRepo/simplerpm.py b/MgaRepo/simplerpm.py
index 19fc535..f248317 100644
--- a/MgaRepo/simplerpm.py
+++ b/MgaRepo/simplerpm.py
@@ -15,9 +15,9 @@ class SRPM:
def unpack(self, topdir):
args = ["rpm", "-i", "--nodeps",
- "--define", "'_sourcedir "+topdir+"/SOURCES'",
- "--define", "'_specdir " + topdir + "/SPECS'",
- "--define", "'_patchdir " + topdir+"/SOURCES'",
+ "--define", "_sourcedir {0}/SOURCES".format(topdir),
+ "--define", "_specdir {0}/SPECS".format(topdir),
+ "--define", "_patchdir {0}/SOURCES".format(topdir),
self.filename]
execcmd(args)