summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-devtools/rpm/rpm_git.bb5
1 files changed, 5 insertions, 0 deletions
diff --git a/meta/recipes-devtools/rpm/rpm_git.bb b/meta/recipes-devtools/rpm/rpm_git.bb
index 5fe52b83ec..971aac7867 100644
--- a/meta/recipes-devtools/rpm/rpm_git.bb
+++ b/meta/recipes-devtools/rpm/rpm_git.bb
@@ -99,6 +99,9 @@ do_install_append_class-target() {
99 99
100do_install_append () { 100do_install_append () {
101 sed -i -e 's:${HOSTTOOLS_DIR}/::g' ${D}/${libdir}/rpm/macros 101 sed -i -e 's:${HOSTTOOLS_DIR}/::g' ${D}/${libdir}/rpm/macros
102
103 sed -i -e 's|/usr/bin/python|${USRBINPATH}/env ${PYTHON_PN}|' \
104 ${D}${libdir}/rpm/pythondistdeps.py
102} 105}
103 106
104FILES_${PN} += "${libdir}/rpm-plugins/*.so \ 107FILES_${PN} += "${libdir}/rpm-plugins/*.so \
@@ -113,3 +116,5 @@ FILES_python3-rpm = "${PYTHON_SITEPACKAGES_DIR}/rpm/*"
113 116
114# rpm 5.x was packaging the rpm build tools separately 117# rpm 5.x was packaging the rpm build tools separately
115RPROVIDES_${PN} += "rpm-build" 118RPROVIDES_${PN} += "rpm-build"
119
120RDEPENDS_${PN} = "bash perl python3-core"