[OE-core] [PATCH 12/14] gpgme: fix packaging warnings

Richard Purdie richard.purdie at linuxfoundation.org
Wed Mar 14 12:49:02 UTC 2012


On Wed, 2012-03-14 at 01:33 -0700, Saul Wold wrote:
> Signed-off-by: Saul Wold <sgw at linux.intel.com>
> ---
>  meta/recipes-support/gpgme/gpgme_1.3.1.bb |    6 +++++-
>  1 files changed, 5 insertions(+), 1 deletions(-)
> 
> diff --git a/meta/recipes-support/gpgme/gpgme_1.3.1.bb b/meta/recipes-support/gpgme/gpgme_1.3.1.bb
> index 9ffedba..33858bf 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() {
> +	rm -rf ${D}/usr/libexec
> +}

Since this is an empty directory, could you just do a rmdir here please?

The reason is that if the package then does start installing files
there, we'd hit a build failure.

Cheers,

Richard






More information about the Openembedded-core mailing list