License-Update: Rename COPYING to LICENSE. No content changes.
Signed-off-by: Yi Zhao <yi.zhao@...>
---
.../{libsemanage_3.4.bb => libsemanage_3.5.bb} | 13 +++++++------
1 file changed, 7 insertions(+), 6 deletions(-)
rename recipes-security/selinux/{libsemanage_3.4.bb => libsemanage_3.5.bb} (78%)
diff --git a/recipes-security/selinux/libsemanage_3.4.bb b/recipes-security/selinux/libsemanage_3.5.bb
similarity index 78%
rename from recipes-security/selinux/libsemanage_3.4.bb
rename to recipes-security/selinux/libsemanage_3.5.bb
index 7f038ac..93eb870 100644
--- a/recipes-security/selinux/libsemanage_3.4.bb
+++ b/recipes-security/selinux/libsemanage_3.5.bb
@@ -5,7 +5,7 @@ as by programs like load_policy that need to perform specific transformations \
on binary policies such as customizing policy boolean settings."
SECTION = "base"
LICENSE = "LGPL-2.1-or-later"
-LIC_FILES_CHKSUM = "file://${S}/COPYING;md5=a6f89e2100d9b6cdffcea4f398e37343"
+LIC_FILES_CHKSUM = "file://${S}/LICENSE;md5=a6f89e2100d9b6cdffcea4f398e37343"
require selinux_common.inc
@@ -29,23 +29,24 @@ PACKAGES =+ "${PN}-python"
# For /usr/libexec/selinux/semanage_migrate_store
RDEPENDS:${PN}-python = "python3-core"
-FILES:${PN}-python = "${libdir}/python${PYTHON_BASEVERSION}/site-packages/* \
+FILES:${PN}-python = "${PYTHON_SITEPACKAGES_DIR}/* \
${libexecdir}/selinux/semanage_migrate_store"
-FILES:${PN}-dbg += "${libdir}/python${PYTHON_BASEVERSION}/site-packages/.debug/*"
+FILES:${PN}-dbg += "${PYTHON_SITEPACKAGES_DIR}/.debug/*"
FILES:${PN} += "${libexecdir}"
do_compile:append() {
oe_runmake pywrap \
- PYLIBVER='python${PYTHON_BASEVERSION}${PYTHON_ABI}' \
+ PYLIBVER='python${PYTHON_BASEVERSION}' \
PYINC='-I${STAGING_INCDIR}/${PYLIBVER}' \
PYLIBS='-L${STAGING_LIBDIR}/${PYLIBVER} -l${PYLIBVER}'
}
do_install:append() {
oe_runmake install-pywrap \
+ DESTDIR=${D} \
PYCEXT='.so' \
- PYLIBVER='python${PYTHON_BASEVERSION}${PYTHON_ABI}' \
- PYTHONLIBDIR='${D}${libdir}/python${PYTHON_BASEVERSION}/site-packages'
+ PYLIBVER='python${PYTHON_BASEVERSION}' \
+ PYTHONLIBDIR='${PYTHON_SITEPACKAGES_DIR}'
# Update "policy-version" for semanage.conf
sed -i 's/^#\s*\(policy-version\s*=\).*$/\1 33/' \
--
2.25.1