Patchwork [5/5] python-smartpm: don't try to remove /usr/share/share twice

login
register
mail settings
Submitter Martin Jansa
Date Dec. 5, 2012, 6:26 p.m.
Message ID <a713a0395df34f4d6543069b6c7538bea7fc33c0.1354731942.git.Martin.Jansa@gmail.com>
Download mbox | patch
Permalink /patch/40461/
State Accepted, archived
Headers show

Comments

Martin Jansa - Dec. 5, 2012, 6:26 p.m.
* distutils.bbclass now removes that directory

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
 meta/recipes-devtools/python/python-smartpm_1.4.1.bb | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

Patch

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 254318c..b896c89 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 = "r1"
+PR = "r2"
 SRCNAME = "smart"
 
 SRC_URI = "\
@@ -43,9 +43,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