--- CMakeLists.txt.orig	2015-02-07 19:56:50 UTC
+++ CMakeLists.txt
@@ -59,7 +59,7 @@ set( ECHONEST_LIB_MINOR_VERSION "3" )
 set( ECHONEST_LIB_PATCH_VERSION "1" )
 set( ECHONEST_LIB_VERSION "${ECHONEST_LIB_MAJOR_VERSION}.${ECHONEST_LIB_MINOR_VERSION}.${ECHONEST_LIB_PATCH_VERSION}" )
 
-set( ECHONEST_LIB_VERSION_SONAME "${ECHONEST_LIB_MAJOR_VERSION}.${ECHONEST_LIB_MINOR_VERSION}")
+set( ECHONEST_LIB_VERSION_SONAME "${ECHONEST_LIB_MAJOR_VERSION}")
 
 if (CMAKE_COMPILER_IS_GNUCXX)
     ADD_DEFINITIONS( -Wall -Wundef -Wcast-align -Wchar-subscripts -Wpointer-arith
@@ -110,7 +110,7 @@ IF (NOT WIN32)
                   ${CMAKE_CURRENT_BINARY_DIR}/libechonest${ECHONEST_LIB_VERSION_SUFFIX}.pc
                   @ONLY)
   INSTALL (FILES ${CMAKE_CURRENT_BINARY_DIR}/libechonest${ECHONEST_LIB_VERSION_SUFFIX}.pc
-           DESTINATION lib${LIB_SUFFIX}/pkgconfig)
+           DESTINATION libdata/pkgconfig)
 ENDIF (NOT WIN32)
 
 include(CPack)
