diff mbox series

[meta-selinux] setools: inherit cython class

Message ID 20250103095349.593992-1-yi.zhao@windriver.com
State New
Headers show
Series [meta-selinux] setools: inherit cython class | expand

Commit Message

Yi Zhao Jan. 3, 2025, 9:53 a.m. UTC
Use the new cython class to avoid duplicated fixup code to remove build
paths.

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
---
 recipes-security/setools/setools_4.5.1.bb | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)
diff mbox series

Patch

diff --git a/recipes-security/setools/setools_4.5.1.bb b/recipes-security/setools/setools_4.5.1.bb
index 9b6745e..723eeb0 100644
--- a/recipes-security/setools/setools_4.5.1.bb
+++ b/recipes-security/setools/setools_4.5.1.bb
@@ -16,17 +16,13 @@  LIC_FILES_CHKSUM = "file://${S}/COPYING;md5=69a7b68f0a4a570d7c0c43465333ecbc \
 
 S = "${WORKDIR}/git"
 
-DEPENDS = "python3-cython-native libsepol libselinux"
+DEPENDS = "libsepol libselinux"
 
 RDEPENDS:${PN} = "python3-networkx python3-logging libselinux-python"
 
 RPROVIDES:${PN} = "${PN}-console"
 
-inherit python_setuptools_build_meta
-
-do_install:prepend() {
-    sed -i -e 's:${RECIPE_SYSROOT}::g' ${S}/setools/policyrep.c
-}
+inherit python_setuptools_build_meta cython
 
 do_install:append() {
     # Need PyQt6 support, disable gui tools