aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Thauvin <nanardon@mageia.org>2011-01-14 16:34:12 +0000
committerOlivier Thauvin <nanardon@mageia.org>2011-01-14 16:34:12 +0000
commitdce716a0f8fd4108e6615d87dcd362029a0ef305 (patch)
tree0d93d4d4ecb5c7683242b80e8a62e92b65ff97c8
parent955e07b6ebab91999b494ffa8397b5f6e3ac727f (diff)
downloadmgarepo-dce716a0f8fd4108e6615d87dcd362029a0ef305.tar
mgarepo-dce716a0f8fd4108e6615d87dcd362029a0ef305.tar.gz
mgarepo-dce716a0f8fd4108e6615d87dcd362029a0ef305.tar.bz2
mgarepo-dce716a0f8fd4108e6615d87dcd362029a0ef305.tar.xz
mgarepo-dce716a0f8fd4108e6615d87dcd362029a0ef305.zip
- patch goes in SOURCES no SPECS
-rw-r--r--MgaRepo/simplerpm.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/MgaRepo/simplerpm.py b/MgaRepo/simplerpm.py
index a162133..d2ecf77 100644
--- a/MgaRepo/simplerpm.py
+++ b/MgaRepo/simplerpm.py
@@ -15,7 +15,7 @@ class SRPM:
def unpack(self, topdir):
execcmd(("rpm -i --define '_sourcedir %s/SOURCES' " +
- "--define '_specdir %s/SPECS' --define '_patchdir %s/SPECS' %s")
+ "--define '_specdir %s/SPECS' --define '_patchdir %s/SOURCES' %s")
% (topdir, topdir, topdir, self.filename))
# vim:et:ts=4:sw=4