diff options
| -rw-r--r-- | meta/recipes-devtools/rpm/rpm_4.16.1.2.bb | 39 |
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 | ||
| 146 | FILES_${PN}-dev += "${libdir}/rpm-plugins/*.la \ | 146 | FILES_${PN}-dev += "${libdir}/rpm-plugins/*.la \ |
| 147 | " | 147 | " |
| 148 | PACKAGE_BEFORE_PN += "${PN}-build ${PN}-sign ${PN}-archive" | ||
| 149 | |||
| 150 | RRECOMMENDS_${PN} += "rpm-build rpm-sign rpm-archive" | ||
| 151 | |||
| 152 | FILES_${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 | |||
| 174 | FILES_${PN}-sign = "\ | ||
| 175 | ${bindir}/rpmsign \ | ||
| 176 | ${libdir}/librpmsign.so.* \ | ||
| 177 | " | ||
| 178 | |||
| 179 | FILES_${PN}-archive = "\ | ||
| 180 | ${bindir}/rpm2archive \ | ||
| 181 | " | ||
| 148 | 182 | ||
| 149 | PACKAGES += "python3-rpm" | 183 | PACKAGES += "python3-rpm" |
| 150 | PROVIDES += "python3-rpm" | 184 | PROVIDES += "python3-rpm" |
| 151 | FILES_python3-rpm = "${PYTHON_SITEPACKAGES_DIR}/rpm/*" | 185 | FILES_python3-rpm = "${PYTHON_SITEPACKAGES_DIR}/rpm/*" |
| 152 | 186 | ||
| 153 | # rpm 5.x was packaging the rpm build tools separately | 187 | RDEPENDS_${PN}-build = "bash perl python3-core" |
| 154 | RPROVIDES_${PN} += "rpm-build" | ||
| 155 | |||
| 156 | RDEPENDS_${PN} = "bash perl python3-core" | ||
| 157 | 188 | ||
| 158 | PACKAGE_PREPROCESS_FUNCS += "rpm_package_preprocess" | 189 | PACKAGE_PREPROCESS_FUNCS += "rpm_package_preprocess" |
| 159 | 190 | ||
