File use-shlex-quote.patch of Package llvm15

Index: llvm-15.0.7.src/test/Bindings/Go/lit.local.cfg
===================================================================
--- llvm-15.0.7.src.orig/test/Bindings/Go/lit.local.cfg
+++ llvm-15.0.7.src/test/Bindings/Go/lit.local.cfg
@@ -1,5 +1,4 @@
 import os
-import pipes
 import shlex
 import sys
 
@@ -56,7 +55,7 @@ def fixup_compiler_path(compiler):
     except (AttributeError, OSError):
         pass
 
-    return ' '.join([pipes.quote(arg) for arg in args])
+    return ' '.join([shlex.quote(arg) for arg in args])
 
 config.environment['CC'] = fixup_compiler_path(config.host_cc)
 config.environment['CXX'] = fixup_compiler_path(config.host_cxx)
openSUSE Build Service is sponsored by