Patchwork [55/58] lua5.1: fix packaging QA warnings

login
register
mail settings
Submitter Martin Jansa
Date Dec. 4, 2012, 1:59 a.m.
Message ID <f7c5854ae182f409e2a4e1b34d433a89030cae08.1354586187.git.Martin.Jansa@gmail.com>
Download mbox | patch
Permalink /patch/40195/
State Accepted
Commit 124a9515fdc842c8bf1cb66c68da615c7b6084af
Headers show

Comments

Martin Jansa - Dec. 4, 2012, 1:59 a.m.
* Fixes:
  lua5.1-5.1.4: lua5.1: Files/directories were installed but not shipped
    /usr/share/lua
    /usr/share/lua/5.1
    /usr/lib/lua
    /usr/lib/lua/5.1

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
 meta-oe/recipes-devtools/lua/lua5.1_5.1.4.bb | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

Patch

diff --git a/meta-oe/recipes-devtools/lua/lua5.1_5.1.4.bb b/meta-oe/recipes-devtools/lua/lua5.1_5.1.4.bb
index eca7755..0dc81db 100644
--- a/meta-oe/recipes-devtools/lua/lua5.1_5.1.4.bb
+++ b/meta-oe/recipes-devtools/lua/lua5.1_5.1.4.bb
@@ -5,7 +5,7 @@  LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=90c3badc6055c699194c4a7cea583296"
 HOMEPAGE = "http://www.lua.org/"
 
 DEPENDS += "readline"
-PR = "r10"
+PR = "r11"
 SRC_URI = "http://www.lua.org/ftp/lua-${PV}.tar.gz \
            file://bitwise_operators.patch \
            file://lua5.1.pc \
@@ -38,6 +38,10 @@  do_install () {
 		install
 	install -d ${D}${libdir}/pkgconfig
 	install -m 0644 ${WORKDIR}/lua5.1.pc ${D}${libdir}/pkgconfig/lua5.1.pc
+	rmdir ${D}${libdir}/lua/5.1
+	rmdir ${D}${libdir}/lua
+	rmdir ${D}${datadir}/lua/5.1
+	rmdir ${D}${datadir}/lua
 }
 BBCLASSEXTEND = "native"