aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas Vigier <boklm@mageia.org>2011-02-07 17:03:57 +0000
committerNicolas Vigier <boklm@mageia.org>2011-02-07 17:03:57 +0000
commit77af19aadf95f2c1f9e92332136cc489fe3a1f5e (patch)
treebdf4cae456e059983a4064c85b928abb9ac35454
parent59341cd17766e9aae61256160009184dc469eec3 (diff)
downloadmgarepo-77af19aadf95f2c1f9e92332136cc489fe3a1f5e.tar
mgarepo-77af19aadf95f2c1f9e92332136cc489fe3a1f5e.tar.gz
mgarepo-77af19aadf95f2c1f9e92332136cc489fe3a1f5e.tar.bz2
mgarepo-77af19aadf95f2c1f9e92332136cc489fe3a1f5e.tar.xz
mgarepo-77af19aadf95f2c1f9e92332136cc489fe3a1f5e.zip
use --nodeps when unpacking srpm
-rw-r--r--MgaRepo/simplerpm.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/MgaRepo/simplerpm.py b/MgaRepo/simplerpm.py
index d2ecf77..e3146a7 100644
--- a/MgaRepo/simplerpm.py
+++ b/MgaRepo/simplerpm.py
@@ -14,7 +14,7 @@ class SRPM:
self.epoch = None
def unpack(self, topdir):
- execcmd(("rpm -i --define '_sourcedir %s/SOURCES' " +
+ execcmd(("rpm -i --nodeps --define '_sourcedir %s/SOURCES' " +
"--define '_specdir %s/SPECS' --define '_patchdir %s/SOURCES' %s")
% (topdir, topdir, topdir, self.filename))