Patchwork gpgme: fix packaging warnings

login
register
mail settings
Submitter Saul Wold
Date March 14, 2012, 3:50 p.m.
Message ID <1331740202-14767-1-git-send-email-sgw@linux.intel.com>
Download mbox | patch
Permalink /patch/23333/
State Accepted
Commit f38a80cc0cb4affab22080ead179b55d5a665ee6
Headers show

Comments

Saul Wold - March 14, 2012, 3:50 p.m.
Use rmdir since it is currently empty, and we can catch if
it gets used later

Signed-off-by: Saul Wold <sgw@linux.intel.com>
---
 meta/recipes-support/gpgme/gpgme_1.3.1.bb |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

Patch

diff --git a/meta/recipes-support/gpgme/gpgme_1.3.1.bb b/meta/recipes-support/gpgme/gpgme_1.3.1.bb
index 9ffedba..4bcb57a 100644
--- a/meta/recipes-support/gpgme/gpgme_1.3.1.bb
+++ b/meta/recipes-support/gpgme/gpgme_1.3.1.bb
@@ -14,7 +14,7 @@  SRC_URI = "ftp://ftp.gnupg.org/gcrypt/gpgme/gpgme-${PV}.tar.bz2 \
 SRC_URI[md5sum] = "90afa8436ce2b2683c001c824bd22601"
 SRC_URI[sha256sum] = "15ef27a875ae0d79d7446fd931deda11438e724ffbeac74449ed19cba23df4d4"
 DEPENDS = "libgpg-error libassuan pth"
-PR = "r0"
+PR = "r1"
 
 EXTRA_OECONF = "--with-pth=${STAGING_DIR_HOST} --without-pth-test \
                 --with-gpg=${bindir}/gpg --without-gpgsm"
@@ -26,3 +26,7 @@  FILES_${PN}-pth = "${libdir}/libgpgme-pth.so.*"
 FILES_${PN}-pthread = "${libdir}/libgpgme-pthread.so.*"
 FILES_${PN} = "${libdir}/libgpgme.so.*"
 FILES_${PN}-dev += "${bindir}/gpgme-config ${datadir}/common-lisp/source/gpgme/*"
+
+do_install_append() {
+	rmdir ${D}/usr/libexec
+}