unzip: Fix unpackaged files warnings
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 16 Mar 2012 14:56:48 +0000 (14:56 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 16 Mar 2012 16:47:43 +0000 (16:47 +0000)
WARNING: For recipe unzip, the following files/directories were installed but not shipped in any package:
WARNING:   /usr/man

(From OE-Core rev: c07c236056ef5b2fe462c3025ac41bd618a62542)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-extended/unzip/unzip_6.0.bb

index 79e450d..e11f9f7 100644 (file)
@@ -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"