Patchwork unzip: Fix unpackaged files warnings

login
register
mail settings
Submitter Richard Purdie
Date March 16, 2012, 3:22 p.m.
Message ID <1331911362.18586.193.camel@ted>
Download mbox | patch
Permalink /patch/23691/
State Accepted
Commit c07c236056ef5b2fe462c3025ac41bd618a62542
Headers show

Comments

Richard Purdie - March 16, 2012, 3:22 p.m.
WARNING: For recipe unzip, the following files/directories were installed but not shipped in any package:
WARNING:   /usr/man

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---

Patch

diff --git a/meta/recipes-extended/unzip/unzip_6.0.bb b/meta/recipes-extended/unzip/unzip_6.0.bb
index 79e450d..e11f9f7 100644
--- a/meta/recipes-extended/unzip/unzip_6.0.bb
+++ b/meta/recipes-extended/unzip/unzip_6.0.bb
@@ -4,7 +4,7 @@  SECTION = "console/utils"
 LICENSE = "BSD-3-Clause"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=94caec5a51ef55ef711ee4e8b1c69e29"
 PE = "1"
-PR = "r2"
+PR = "r3"
 
 SRC_URI = "ftp://ftp.info-zip.org/pub/infozip/src/unzip60.tgz \
 	file://avoid-strip.patch"
@@ -26,6 +26,7 @@  do_install() {
         oe_runmake -f unix/Makefile install prefix=${D}${prefix}
 	install -d ${D}${mandir}
 	mv ${D}${prefix}/man/* ${D}${mandir}
+	rmdir ${D}${prefix}/man/
 }
 
 BBCLASSEXTEND = "native"