summaryrefslogtreecommitdiff
path: root/meta/recipes-devtools/rpm
diff options
context:
space:
mode:
authorMark Hatle <mark.hatle@windriver.com>2010-08-31 20:05:10 -0500
committerRichard Purdie <rpurdie@linux.intel.com>2010-09-02 10:01:22 +0100
commit4b611b66743a5ec220aef34d796af63029bb5fd9 (patch)
tree8421704dc7366b6e76bf1b1eee6c2172b1a953f8 /meta/recipes-devtools/rpm
parent379ba0e9d73a96f72982070a71532e035878fee0 (diff)
downloadopenembedded-core-4b611b66743a5ec220aef34d796af63029bb5fd9.tar.gz
openembedded-core-4b611b66743a5ec220aef34d796af63029bb5fd9.tar.bz2
openembedded-core-4b611b66743a5ec220aef34d796af63029bb5fd9.tar.xz
openembedded-core-4b611b66743a5ec220aef34d796af63029bb5fd9.zip
package_rpm: Enable debian style tags
Enable debian style tags including suggests, enhances, recommends Note, these are not yet used by the dependency resolver. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Diffstat (limited to 'meta/recipes-devtools/rpm')
-rw-r--r--meta/recipes-devtools/rpm/rpm_5.1.10.bb3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/recipes-devtools/rpm/rpm_5.1.10.bb b/meta/recipes-devtools/rpm/rpm_5.1.10.bb
index d75e48f41..d4b5a9166 100644
--- a/meta/recipes-devtools/rpm/rpm_5.1.10.bb
+++ b/meta/recipes-devtools/rpm/rpm_5.1.10.bb
@@ -116,6 +116,9 @@ do_install_append() {
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
+ # Enable Debian style arbitrary tags...
+ sed -i -e 's,%_arbitrary_tags[^_].*,%_arbitrary_tags %{_arbitrary_tags_debian},' ${D}/${libdir}/rpm/macros
+
install -m 0755 ${WORKDIR}/perfile_rpmdeps.sh ${D}/${libdir}/rpm/perfile_rpmdeps.sh
mv ${D}/${libdir}/python$PYTHONVER/rpm/${HOST_SYS}-__init__.py \