rpm: suppress stderr when unpacking src.rpm
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>
Wed, 3 Dec 2014 14:40:46 +0000 (16:40 +0200)
committerMarkus Lehtonen <markus.lehtonen@linux.intel.com>
Wed, 3 Dec 2014 14:40:46 +0000 (16:40 +0200)
Change-Id: I055e94f905048141268ceb9172b4e10fcb5cdc58
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
gbp/rpm/__init__.py

index f6c0d59..22983d2 100644 (file)
@@ -100,7 +100,7 @@ class SrcRpmFile(object):
         """
         gbpc.RunAtCommand('rpm2cpio',
                           [self.srpmfile, '|', 'cpio', '-id'],
-                          shell=True)(dir=dest_dir)
+                          shell=True, capture_stderr=True)(dir=dest_dir)
 
 
 class SpecFile(object):