createrepo-c: upgrade 0.17.0 -> 0.17.2

(From OE-Core rev: 0013f8195c046031aad5156d889b86676144e74b)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Alexander Kanavin
2021-05-05 17:18:17 +02:00
committed by Richard Purdie
parent 85a6dffc87
commit f5dbb6b815
2 changed files with 4 additions and 4 deletions

View File

@@ -1,4 +1,4 @@
From 218a4760945be7a404df6515ffbc769c92791f9b Mon Sep 17 00:00:00 2001
From 6f8f6d151b831b60f6e7892aa9294a6361353c72 Mon Sep 17 00:00:00 2001
From: Alexander Kanavin <alex.kanavin@gmail.com>
Date: Fri, 30 Dec 2016 18:31:02 +0200
Subject: [PATCH] Do not set PYTHON_INSTALL_DIR by running python
@@ -11,11 +11,11 @@ Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/python/CMakeLists.txt b/src/python/CMakeLists.txt
index 855127f..dff1d97 100644
index ecc262d..a86514c 100644
--- a/src/python/CMakeLists.txt
+++ b/src/python/CMakeLists.txt
@@ -14,7 +14,7 @@ if (NOT SKBUILD)
FIND_PACKAGE(PythonInterp 3 EXACT REQUIRED)
FIND_PACKAGE(PythonLibs 3 REQUIRED)
endif (NOT SKBUILD)
-EXECUTE_PROCESS(COMMAND ${PYTHON_EXECUTABLE} -c "from sys import stdout; from distutils import sysconfig; stdout.write(sysconfig.get_python_lib(True))" OUTPUT_VARIABLE PYTHON_INSTALL_DIR)

View File

@@ -8,7 +8,7 @@ SRC_URI = "git://github.com/rpm-software-management/createrepo_c \
file://0001-Do-not-set-PYTHON_INSTALL_DIR-by-running-python.patch \
"
SRCREV = "909a0636665ed96f97babc3b887f9badc88875c3"
SRCREV = "8eff6ed99f5fd0ba844cb8513963435caab5fd3c"
S = "${WORKDIR}/git"