rpm: replace /usr/lib with ${libdir}

Fix the following warning:
WARNING: QA Issue: rpm: Files/directories were installed but not shipped
  /usr/lib64/rpm/bin/api-sanity-checker.pl

(From OE-Core rev: 625c93784940c0dcda4570258acf2183af7ec5f8)

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Constantin Musca 2012-12-27 15:24:27 +02:00 committed by Richard Purdie
parent 6870465851
commit 296617d205
1 changed files with 2 additions and 2 deletions

View File

@ -43,7 +43,7 @@ LICENSE = "LGPLv2.1"
LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=2d5025d4aa3495befef8f17206a5b0a1"
DEPENDS = "libpcre attr acl popt ossp-uuid file bison-native"
PR = "r60"
PR = "r61"
# rpm2cpio is a shell script, which is part of the rpm src.rpm. It is needed
# in order to extract the distribution SRPM into a format we can extract...
@ -445,7 +445,7 @@ do_install_append() {
rm -f ${D}/${libdir}/rpm/bin/pom2spec
rm -rf ${D}/var/lib/wdj ${D}/var/cache/wdj
rm -f ${D}/usr/lib/rpm/bin/api-sanity-checker.pl
rm -f ${D}/${libdir}/rpm/bin/api-sanity-checker.pl
}
do_install_append_class-native() {