A new user interface for you! Read more...

File rpmlint-pkg-quoting.diff of Package rpmlint

Index: Pkg.py
===================================================================
--- Pkg.py.orig
+++ Pkg.py
@@ -493,7 +493,7 @@ class Pkg:
                 dir = self.dirname)
             # TODO: better shell escaping or sequence based command invocation
             command_str = \
-                'rpm2cpio "%s" | (cd "%s"; cpio -id); chmod -R +rX "%s"' % \
+                "rpm2cpio '%s' | (cd '%s'; cpio -id); chmod -R +rX '%s'" % \
                 (self.filename, self.dirname, self.dirname)
             cmd = getstatusoutput(command_str, shell=True)
             self.extracted = True