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

8ef125
diff -up cmpi-bindings-0.9.5/swig/python/CMakeLists.txt.old cmpi-bindings-0.9.5/swig/python/CMakeLists.txt
8ef125
--- cmpi-bindings-0.9.5/swig/python/CMakeLists.txt.old	2013-08-06 15:57:03.576285764 +0200
8ef125
+++ cmpi-bindings-0.9.5/swig/python/CMakeLists.txt	2013-08-06 15:57:14.891345941 +0200
8ef125
@@ -9,7 +9,7 @@ SET (BUILD_SHARED_LIBS ON)
8ef125
 
8ef125
 FIND_PACKAGE(PythonInterp REQUIRED)
8ef125
 
8ef125
-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)
8ef125
+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)
8ef125
 
8ef125
 IF (NOT PYTHON_SITE_DIR)
8ef125
   SET (PYTHON_SITE_DIR ${PYTHON_LIB_DIR})