aboutsummaryrefslogtreecommitdiffstats
path: root/MgaRepo
diff options
context:
space:
mode:
authorMichael Scherer <misc@mageia.org>2011-09-18 16:36:54 +0000
committerMichael Scherer <misc@mageia.org>2011-09-18 16:36:54 +0000
commit3cb21da1159ee2ca782267295b2781b1cc015a5d (patch)
tree5de4a2deb340678537035e064527bb98d5d88ea1 /MgaRepo
parent6b7d501e7f9556784c2ab68c4285cf9dce2219e5 (diff)
downloadmgarepo-3cb21da1159ee2ca782267295b2781b1cc015a5d.tar
mgarepo-3cb21da1159ee2ca782267295b2781b1cc015a5d.tar.gz
mgarepo-3cb21da1159ee2ca782267295b2781b1cc015a5d.tar.bz2
mgarepo-3cb21da1159ee2ca782267295b2781b1cc015a5d.tar.xz
mgarepo-3cb21da1159ee2ca782267295b2781b1cc015a5d.zip
add --nosignature so signed rpm can be imported ( problem reported by Lev Givon on irc )
Diffstat (limited to 'MgaRepo')
-rw-r--r--MgaRepo/simplerpm.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/MgaRepo/simplerpm.py b/MgaRepo/simplerpm.py
index e3146a7..2f968b0 100644
--- a/MgaRepo/simplerpm.py
+++ b/MgaRepo/simplerpm.py
@@ -7,7 +7,7 @@ class SRPM:
self._getinfo()
def _getinfo(self):
- cmdstr = "rpm -qp --qf '%%{name} %%{epoch} %%{release} %%{version}' %s"
+ cmdstr = "rpm -qp --nosignature --qf '%%{name} %%{epoch} %%{release} %%{version}' %s"
status, output = execcmd(cmdstr % self.filename)
self.name, self.epoch, self.release, self.version = output.split()
if self.epoch == "(none)":