rpm: inherit with-selinux

We should also enable selinux only for target rpm, so inherit
with-selinux.

Signed-off-by: Xin Ouyang <Xin.Ouyang@windriver.com>
This commit is contained in:
Xin Ouyang 2013-01-28 11:24:06 +08:00
parent 7d957310f7
commit b2eae27b18

View File

@ -1,4 +1,4 @@
PR .= ".2"
PR .= ".3"
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
@ -9,6 +9,5 @@ FILES_${PN} += "${libdir}/rpm/bin/spooktool \
${libdir}/rpm/bin/semodule \
"
# Fix incorrect dependency in upstream version
inherit with-selinux
PACKAGECONFIG[selinux] = "${WITH_SELINUX},${WITHOUT_SELINUX},libsemanage,"
PACKAGECONFIG_append = " ${@base_contains('DISTRO_FEATURES', 'selinux', 'selinux', '', d)}"