diff options
-rw-r--r-- | meta/recipes-devtools/rpm/rpm_git.bb | 5 |
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 | ||
100 | do_install_append () { | 100 | do_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 | ||
104 | FILES_${PN} += "${libdir}/rpm-plugins/*.so \ | 107 | FILES_${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 |
115 | RPROVIDES_${PN} += "rpm-build" | 118 | RPROVIDES_${PN} += "rpm-build" |
119 | |||
120 | RDEPENDS_${PN} = "bash perl python3-core" | ||