[oe-commits] Richard Purdie : unzip: Fix unpackaged files warnings

git at git.openembedded.org git at git.openembedded.org
Fri Mar 16 16:51:14 UTC 2012


Module: openembedded-core.git
Branch: master
Commit: c07c236056ef5b2fe462c3025ac41bd618a62542
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=c07c236056ef5b2fe462c3025ac41bd618a62542

Author: Richard Purdie <richard.purdie at linuxfoundation.org>
Date:   Fri Mar 16 14:56:48 2012 +0000

unzip: Fix unpackaged files warnings

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 at linuxfoundation.org>

---

 meta/recipes-extended/unzip/unzip_6.0.bb |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

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"





More information about the Openembedded-commits mailing list