diff --git a/meta/recipes-devtools/libcomps/libcomps/0001-Do-not-set-PYTHON_INSTALL_DIR-by-running-python.patch b/meta/recipes-devtools/libcomps/libcomps/0001-Do-not-set-PYTHON_INSTALL_DIR-by-running-python.patch
index 6fc0a4177f..9e5e99be26 100644
--- a/meta/recipes-devtools/libcomps/libcomps/0001-Do-not-set-PYTHON_INSTALL_DIR-by-running-python.patch
+++ b/meta/recipes-devtools/libcomps/libcomps/0001-Do-not-set-PYTHON_INSTALL_DIR-by-running-python.patch
@@ -1,4 +1,4 @@
-From 159ad0e19f4c5d7fe357378c00db19c1106e62c4 Mon Sep 17 00:00:00 2001
+From 04c89e1af497514b6b7023620962cfb97e752cc9 Mon Sep 17 00:00:00 2001
 From: Alexander Kanavin <alex.kanavin@gmail.com>
 Date: Fri, 30 Dec 2016 18:22:09 +0200
 Subject: [PATCH] Do not set PYTHON_INSTALL_DIR by running python.
@@ -10,15 +10,15 @@ Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
  1 file changed, 1 insertion(+), 1 deletion(-)
 
 diff --git a/libcomps/src/python/src/CMakeLists.txt b/libcomps/src/python/src/CMakeLists.txt
-index d22b84e..ad67309 100644
+index 6d3d4c0..396c725 100644
 --- a/libcomps/src/python/src/CMakeLists.txt
 +++ b/libcomps/src/python/src/CMakeLists.txt
-@@ -85,7 +85,7 @@ IF (SKBUILD)
-     INSTALL(FILES libcomps/__init__.py DESTINATION libcomps/src/python/src/libcomps)
-     INSTALL(TARGETS pycomps LIBRARY DESTINATION libcomps/src/python/src/libcomps)
+@@ -78,7 +78,7 @@ IF (SKBUILD)
+     INSTALL(FILES libcomps/__init__.py DESTINATION libcomps)
+     INSTALL(TARGETS pycomps LIBRARY DESTINATION libcomps)
  ELSE ()
 -    EXECUTE_PROCESS(COMMAND ${PYTHON_EXECUTABLE} -c "from sys import stdout; from sysconfig import get_path; stdout.write(get_path('platlib'))" OUTPUT_VARIABLE PYTHON_INSTALL_DIR)
 +    #EXECUTE_PROCESS(COMMAND ${PYTHON_EXECUTABLE} -c "from sys import stdout; from sysconfig import get_path; stdout.write(get_path('platlib'))" OUTPUT_VARIABLE PYTHON_INSTALL_DIR)
  
      INSTALL(FILES ${pycomps_SRCDIR}/libcomps/__init__.py DESTINATION ${PYTHON_INSTALL_DIR}/libcomps)
-     #INSTALL(FILES ${pycomps_SRCDIR}/tests/__test.py DESTINATION
+     INSTALL (TARGETS pycomps LIBRARY DESTINATION ${PYTHON_INSTALL_DIR}/libcomps)
diff --git a/meta/recipes-devtools/libcomps/libcomps_0.1.24.bb b/meta/recipes-devtools/libcomps/libcomps_0.1.25.bb
similarity index 94%
rename from meta/recipes-devtools/libcomps/libcomps_0.1.24.bb
rename to meta/recipes-devtools/libcomps/libcomps_0.1.25.bb
index c26fc71b3b..47bcd078a1 100644
--- a/meta/recipes-devtools/libcomps/libcomps_0.1.24.bb
+++ b/meta/recipes-devtools/libcomps/libcomps_0.1.25.bb
@@ -8,7 +8,7 @@ SRC_URI = "git://github.com/rpm-software-management/libcomps.git;branch=master;t
            file://0001-Do-not-set-PYTHON_INSTALL_DIR-by-running-python.patch \
            "
 
-SRCREV = "8d439dd015d4c6f637e64e1160201345883138e9"
+SRCREV = "08340d1783f3b1f064fa08264b5d25706e3bb7ea"
 
 inherit cmake setuptools3-base
 
