libreport: fix Nothing RPROVIDES 'lib32-python3-libreport'

While multilib enabled, if other recipe RDEPENDS python3-libreport,
it failed with:
...
ERROR: Nothing RPROVIDES 'lib32-python3-libreport'
...

Do not use python3-${PN} could fix the issue.

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
Hongxu Jia 2017-10-18 21:45:17 -04:00 committed by Martin Jansa
parent 3c73befc03
commit 5d6d21e98e

View File

@ -26,7 +26,7 @@ REQUIRED_DISTRO_FEATURES = "systemd"
inherit gettext autotools python3native pkgconfig
RDEPENDS_${PN}-python3 += "${PN}"
RDEPENDS_python3-libreport += "${PN}"
do_patch[prefuncs] += "do_gen_version"
do_gen_version() {
@ -34,9 +34,9 @@ do_gen_version() {
./gen-version
}
PACKAGES += "python3-${PN}"
PACKAGES += "python3-libreport"
FILES_${PN} += "${datadir}/*"
FILES_${PN}-dbg += "${PYTHON_SITEPACKAGES_DIR}/*/.debug"
FILES_python3-${PN} = "${PYTHON_SITEPACKAGES_DIR}/*"
FILES_python3-libreport = "${PYTHON_SITEPACKAGES_DIR}/*"