summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYi Zhao <yi.zhao@windriver.com>2025-01-03 17:53:49 +0800
committerJoe MacDonald <joe.macdonald@siemens.com>2025-03-07 14:33:23 -0500
commit1e40ada23b95eb5019d99614d8bc9977e404b03a (patch)
treef0541174c8da07e4e96c448c9d617a6973b2703f
parentd000ede95d6daa9792e06ce922135736b8bc1751 (diff)
downloadmeta-selinux-1e40ada23b95eb5019d99614d8bc9977e404b03a.tar.gz
setools: inherit cython class
Use the new cython class to avoid duplicated fixup code to remove build paths. Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Joe MacDonald <joe.macdonald@siemens.com>
-rw-r--r--recipes-security/setools/setools_4.5.1.bb8
1 files changed, 2 insertions, 6 deletions
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 \
16 16
17S = "${WORKDIR}/git" 17S = "${WORKDIR}/git"
18 18
19DEPENDS = "python3-cython-native libsepol libselinux" 19DEPENDS = "libsepol libselinux"
20 20
21RDEPENDS:${PN} = "python3-networkx python3-logging libselinux-python" 21RDEPENDS:${PN} = "python3-networkx python3-logging libselinux-python"
22 22
23RPROVIDES:${PN} = "${PN}-console" 23RPROVIDES:${PN} = "${PN}-console"
24 24
25inherit python_setuptools_build_meta 25inherit python_setuptools_build_meta cython
26
27do_install:prepend() {
28 sed -i -e 's:${RECIPE_SYSROOT}::g' ${S}/setools/policyrep.c
29}
30 26
31do_install:append() { 27do_install:append() {
32 # Need PyQt6 support, disable gui tools 28 # Need PyQt6 support, disable gui tools