Blame SOURCES/cmpi-bindings-0.9.5-python-lib-dir.patch

0055ec
diff -up cmpi-bindings-0.9.5/swig/python/CMakeLists.txt.old cmpi-bindings-0.9.5/swig/python/CMakeLists.txt
0055ec
--- cmpi-bindings-0.9.5/swig/python/CMakeLists.txt.old	2013-08-06 15:57:03.576285764 +0200
0055ec
+++ cmpi-bindings-0.9.5/swig/python/CMakeLists.txt	2013-08-06 15:57:14.891345941 +0200
0055ec
@@ -9,7 +9,7 @@ SET (BUILD_SHARED_LIBS ON)
0055ec
 
0055ec
 FIND_PACKAGE(PythonInterp REQUIRED)
0055ec
 
0055ec
-EXECUTE_PROCESS(COMMAND ${PYTHON_EXECUTABLE} -c "from sys import stdout; from distutils import sysconfig; stdout.write(sysconfig.get_python_lib())" OUTPUT_VARIABLE PYTHON_LIB_DIR)
0055ec
+EXECUTE_PROCESS(COMMAND ${PYTHON_EXECUTABLE} -c "from sys import stdout; from distutils import sysconfig; stdout.write(sysconfig.get_python_lib(1))" OUTPUT_VARIABLE PYTHON_LIB_DIR)
0055ec
 
0055ec
 IF (NOT PYTHON_SITE_DIR)
0055ec
   SET (PYTHON_SITE_DIR ${PYTHON_LIB_DIR})