python3-jsonrpcserver: Use PYTHON_BASEVERSION instead of hardcoding py version

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Alexander Kanavin <alex.kanavin@gmail.com>
This commit is contained in:
Khem Raj 2020-01-08 17:49:11 -08:00
parent bc62c2e221
commit d569173b87

View File

@ -23,5 +23,5 @@ RDEPENDS_${PN} += "\
BBCLASSEXTEND = "native nativesdk"
do_install_append() {
chmod 0644 ${D}${PYTHON_SITEPACKAGES_DIR}/jsonrpcserver-4.1.0-py3.7.egg-info/*
chmod 0644 ${D}${PYTHON_SITEPACKAGES_DIR}/jsonrpcserver-4.1.0-py${PYTHON_BASEVERSION}.egg-info/*
}