mirror of
https://git.yoctoproject.org/poky
synced 2026-02-10 02:33:02 +01:00
rpm: Add dependencies on bash, perl and python3-core
Also modify a Python script (pythondistdeps.py) to use Python 3. (From OE-Core rev: b2906dbebfd547a630a4eafdcbaa1ceefa5e257c) Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
e25d7a9b9c
commit
a38ca789cf
@@ -107,6 +107,9 @@ do_install_append_class-target() {
|
||||
|
||||
do_install_append () {
|
||||
sed -i -e 's:${HOSTTOOLS_DIR}/::g' ${D}/${libdir}/rpm/macros
|
||||
|
||||
sed -i -e 's|/usr/bin/python|${USRBINPATH}/env ${PYTHON_PN}|' \
|
||||
${D}${libdir}/rpm/pythondistdeps.py
|
||||
}
|
||||
|
||||
FILES_${PN} += "${libdir}/rpm-plugins/*.so \
|
||||
@@ -121,3 +124,5 @@ FILES_python3-rpm = "${PYTHON_SITEPACKAGES_DIR}/rpm/*"
|
||||
|
||||
# rpm 5.x was packaging the rpm build tools separately
|
||||
RPROVIDES_${PN} += "rpm-build"
|
||||
|
||||
RDEPENDS_${PN} = "bash perl python3-core"
|
||||
|
||||
Reference in New Issue
Block a user