summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r--meta/recipes-devtools/rpm/rpm_4.16.1.2.bb39
1 files changed, 35 insertions, 4 deletions
diff --git a/meta/recipes-devtools/rpm/rpm_4.16.1.2.bb b/meta/recipes-devtools/rpm/rpm_4.16.1.2.bb
index 9195d66dd1..d369c706a2 100644
--- a/meta/recipes-devtools/rpm/rpm_4.16.1.2.bb
+++ b/meta/recipes-devtools/rpm/rpm_4.16.1.2.bb
@@ -145,15 +145,46 @@ FILES_${PN}_append_class-nativesdk = " ${SDKPATHNATIVE}/environment-setup.d/rpm.
145 145
146FILES_${PN}-dev += "${libdir}/rpm-plugins/*.la \ 146FILES_${PN}-dev += "${libdir}/rpm-plugins/*.la \
147 " 147 "
148PACKAGE_BEFORE_PN += "${PN}-build ${PN}-sign ${PN}-archive"
149
150RRECOMMENDS_${PN} += "rpm-build rpm-sign rpm-archive"
151
152FILES_${PN}-build = "\
153 ${bindir}/rpmbuild \
154 ${bindir}/gendiff \
155 ${bindir}/rpmspec \
156 ${libdir}/librpmbuild.so.* \
157 ${libdir}/rpm/brp-* \
158 ${libdir}/rpm/check-* \
159 ${libdir}/rpm/debugedit \
160 ${libdir}/rpm/sepdebugcrcfix \
161 ${libdir}/rpm/find-debuginfo.sh \
162 ${libdir}/rpm/find-lang.sh \
163 ${libdir}/rpm/*provides* \
164 ${libdir}/rpm/*requires* \
165 ${libdir}/rpm/*deps* \
166 ${libdir}/rpm/*.prov \
167 ${libdir}/rpm/*.req \
168 ${libdir}/rpm/config.* \
169 ${libdir}/rpm/mkinstalldirs \
170 ${libdir}/rpm/macros.p* \
171 ${libdir}/rpm/fileattrs/* \
172"
173
174FILES_${PN}-sign = "\
175 ${bindir}/rpmsign \
176 ${libdir}/librpmsign.so.* \
177"
178
179FILES_${PN}-archive = "\
180 ${bindir}/rpm2archive \
181"
148 182
149PACKAGES += "python3-rpm" 183PACKAGES += "python3-rpm"
150PROVIDES += "python3-rpm" 184PROVIDES += "python3-rpm"
151FILES_python3-rpm = "${PYTHON_SITEPACKAGES_DIR}/rpm/*" 185FILES_python3-rpm = "${PYTHON_SITEPACKAGES_DIR}/rpm/*"
152 186
153# rpm 5.x was packaging the rpm build tools separately 187RDEPENDS_${PN}-build = "bash perl python3-core"
154RPROVIDES_${PN} += "rpm-build"
155
156RDEPENDS_${PN} = "bash perl python3-core"
157 188
158PACKAGE_PREPROCESS_FUNCS += "rpm_package_preprocess" 189PACKAGE_PREPROCESS_FUNCS += "rpm_package_preprocess"
159 190