selinux-python: add python-core as runtime dependency

Fix QA issues:
QA Issue: /usr/lib64/python2.7/site-packages/seobject.py contained in package selinux-python requires /usr/bin/python,
   but no providers found in RDEPENDS_selinux-python? [file-rdeps]
QA Issue: /usr/bin/audit2allow contained in package selinux-python-audit2allow requires /usr/bin/python,
   but no providers found in RDEPENDS_selinux-python-audit2allow? [file-rdeps]
QA Issue: /usr/bin/chcat contained in package selinux-python-chcat requires /usr/bin/python,
   but no providers found in RDEPENDS_selinux-python-chcat? [file-rdeps]

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
This commit is contained in:
Yi Zhao 2019-08-22 16:05:23 +08:00 committed by Joe MacDonald
parent 8c6eabaf8c
commit c1309380d7

View File

@ -15,11 +15,13 @@ inherit python-dir
DEPENDS += "python-native libsepol"
RDEPENDS_${BPN}-audit2allow += "\
python-core \
python-textutils \
libselinux-python \
${BPN}-sepolgen \
"
RDEPENDS_${BPN}-chcat += "\
python-core \
python-codecs \
python-shell \
python-stringold \
@ -28,6 +30,7 @@ RDEPENDS_${BPN}-chcat += "\
${BPN} \
"
RDEPENDS_${BPN} += "\
python-core \
python-codecs \
python-io \
python-ipy \