[OE-core] [PATCH 09/17] telepathy-python: Remove unneeded and unpackaged files
Richard Purdie
richard.purdie at linuxfoundation.org
Tue Jul 5 22:51:10 UTC 2011
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
.../telepathy/telepathy-python_0.15.19.bb | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
diff --git a/meta/recipes-connectivity/telepathy/telepathy-python_0.15.19.bb b/meta/recipes-connectivity/telepathy/telepathy-python_0.15.19.bb
index 8182362..0a483c4 100644
--- a/meta/recipes-connectivity/telepathy/telepathy-python_0.15.19.bb
+++ b/meta/recipes-connectivity/telepathy/telepathy-python_0.15.19.bb
@@ -9,7 +9,7 @@ RDEPENDS_${PN} += "python-dbus"
SRC_URI = "http://telepathy.freedesktop.org/releases/${BPN}/${P}.tar.gz \
file://parallel_make.patch"
-PR = "r1"
+PR = "r2"
inherit autotools
@@ -20,3 +20,10 @@ FILES_${PN} += "\
${libdir}/python*/site-packages/telepathy/*.py \
${libdir}/python*/site-packages/telepathy/*/*.py \
"
+
+do_install_append () {
+ rm -f ${D}${libdir}/python*/site-packages/telepathy/*.pyc
+ rm -f ${D}${libdir}/python*/site-packages/telepathy/*.pyo
+ rm -f ${D}${libdir}/python*/site-packages/telepathy/*/*.pyc
+ rm -f ${D}${libdir}/python*/site-packages/telepathy/*/*.pyo
+}
--
1.7.4.1
More information about the Openembedded-core
mailing list