From cd46305a0838142ff4b619e8f50a57ece9cebfef Mon Sep 17 00:00:00 2001 From: Jed Date: Fri, 25 May 2018 17:37:37 -0400 Subject: libsemanage: lift dependency on python for the main package Just moving the python script to the -python package. This allows using libsemanage without requiring python. Signed-off-by: Jed Signed-off-by: Joe MacDonald --- recipes-security/selinux/libsemanage.inc | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/recipes-security/selinux/libsemanage.inc b/recipes-security/selinux/libsemanage.inc index 9b238c8..ee31e4b 100644 --- a/recipes-security/selinux/libsemanage.inc +++ b/recipes-security/selinux/libsemanage.inc @@ -11,11 +11,9 @@ inherit lib_package python-dir DEPENDS += "libsepol libselinux bzip2 python bison-native flex-native swig-native" DEPENDS_append_class-target += "audit" -# For /usr/libexec/selinux/semanage_migrate_store -RDEPENDS_${PN} += "python" - -PACKAGES += "${PN}-python" -FILES_${PN}-python = "${libdir}/python${PYTHON_BASEVERSION}/site-packages/*" +PACKAGES =+ "${PN}-python" +FILES_${PN}-python = "${libdir}/python${PYTHON_BASEVERSION}/site-packages/* \ + ${libexecdir}/selinux/semanage_migrate_store" FILES_${PN}-dbg += "${libdir}/python${PYTHON_BASEVERSION}/site-packages/.debug/*" EXTRA_OEMAKE_class-native += "DISABLE_AUDIT=y" -- cgit v1.2.3-54-g00ecf