summaryrefslogtreecommitdiff
path: root/meta/packages
diff options
context:
space:
mode:
authorMark Hatle <mhatle@windriver.com>2010-08-21 19:40:43 -0700
committerRichard Purdie <rpurdie@linux.intel.com>2010-08-23 20:52:45 +0100
commite37ee511575ef628d1591c4231e37ee0b456a76f (patch)
treedb569abf22f2a6abcb2ed3d8c5c0037264caa0ca /meta/packages
parentf0f911a10db9647c9f94299b68703ffcb62cd53f (diff)
downloadopenembedded-core-e37ee511575ef628d1591c4231e37ee0b456a76f.tar.gz
openembedded-core-e37ee511575ef628d1591c4231e37ee0b456a76f.tar.bz2
openembedded-core-e37ee511575ef628d1591c4231e37ee0b456a76f.tar.xz
openembedded-core-e37ee511575ef628d1591c4231e37ee0b456a76f.zip
rpm_5.1.10.bb: Update macros
Fix some additional macro definitions to enable rpmdeps usage Signed-off-by: Mark Hatle <mhatle@windriver.com>
Diffstat (limited to 'meta/packages')
-rw-r--r--meta/packages/rpm/rpm_5.1.10.bb5
1 files changed, 5 insertions, 0 deletions
diff --git a/meta/packages/rpm/rpm_5.1.10.bb b/meta/packages/rpm/rpm_5.1.10.bb
index 0a212ab47..a7097f760 100644
--- a/meta/packages/rpm/rpm_5.1.10.bb
+++ b/meta/packages/rpm/rpm_5.1.10.bb
@@ -102,12 +102,17 @@ INSTALL_ACTIONS_virtclass-native="sed -i -e 's,rpm,${HOST_SYS}-rpm,' ${D}/${libd
do_install_append() {
${INSTALL_ACTIONS}
sed -i -e 's,%__check_files,#%%__check_files,' ${D}/${libdir}/rpm/macros
+ sed -i -e 's,%__scriptlet_requires,#%%__scriptlet_requires,' ${D}/${libdir}/rpm/macros
+ sed -i -e 's,%__perl_provides,#%%__perl_provides,' ${D}/${libdir}/rpm/macros
+ sed -i -e 's,%__perl_requires,#%%__perl_requires,' ${D}/${libdir}/rpm/macros
sed -i -e 's,pythondeps.sh,${HOST_SYS}-pythondeps.sh,' ${D}/${libdir}/rpm/macros
sed -i -e 's,phpdeps.sh,${HOST_SYS}-phpdeps.sh,' ${D}/${libdir}/rpm/macros
sed -i -e 's,javadeps.sh,${HOST_SYS}-javadeps.sh,' ${D}/${libdir}/rpm/macros
sed -i -e 's,libtooldeps.sh,${HOST_SYS}-libtooldeps.sh,' ${D}/${libdir}/rpm/macros
sed -i -e 's,pkgconfigdeps.sh,${HOST_SYS}-pkgconfigdeps.sh,' ${D}/${libdir}/rpm/macros
sed -i -e 's,executabledeps.sh,${HOST_SYS}-executabledeps.sh,' ${D}/${libdir}/rpm/macros
+ sed -i -e 's,perl.prov,${HOST_SYS}-perl.prov,' ${D}/${libdir}/rpm/macros
+ sed -i -e 's,perl.req,${HOST_SYS}-perl.req,' ${D}/${libdir}/rpm/macros
install -m 0755 ${WORKDIR}/perfile_rpmdeps.sh ${D}/${libdir}/rpm/perfile_rpmdeps.sh