[oe-commits] Martin Jansa : python-smartpm: don't try to remove /usr/share/share twice

git at git.openembedded.org git at git.openembedded.org
Thu Dec 6 12:34:46 UTC 2012


Module: openembedded-core.git
Branch: master
Commit: 5990bda7e0c21629ac5ecaa2ba9783af5a77a125
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=5990bda7e0c21629ac5ecaa2ba9783af5a77a125

Author: Martin Jansa <Martin.Jansa at gmail.com>
Date:   Wed Dec  5 17:07:26 2012 +0100

python-smartpm: don't try to remove /usr/share/share twice

* distutils.bbclass now removes that directory

Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
Signed-off-by: Saul Wold <sgw at linux.intel.com>

Conflicts:
	meta/recipes-devtools/python/python-smartpm_1.4.1.bb

---

 .../python/python-smartpm_1.4.1.bb                 |    5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)

diff --git a/meta/recipes-devtools/python/python-smartpm_1.4.1.bb b/meta/recipes-devtools/python/python-smartpm_1.4.1.bb
index bbaa530..53f232b 100644
--- a/meta/recipes-devtools/python/python-smartpm_1.4.1.bb
+++ b/meta/recipes-devtools/python/python-smartpm_1.4.1.bb
@@ -11,7 +11,7 @@ LICENSE = "GPLv2"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=393a5ca445f6965873eca0259a17f833"
 
 DEPENDS = "python rpm"
-PR = "r3"
+PR = "r4"
 SRCNAME = "smart"
 
 SRC_URI = "\
@@ -48,9 +48,6 @@ PACKAGECONFIG[gtk] = ",,gtk+,${GTK_RDEP}"
 inherit distutils
 
 do_install_append() {
-   # Cleanup unused item...
-   rmdir ${D}${datadir}/share
-
    # We don't support the following items
    rm -rf ${D}${libdir}/python*/site-packages/smart/backends/slack
    rm -rf ${D}${libdir}/python*/site-packages/smart/backends/arch





More information about the Openembedded-commits mailing list