[OE-core] [PATCH 14/30] rpm: use ${localstatedir} and ${libdir} instead of /var and /usr/lib
Javier Martinez Canillas
javier at dowhile0.org
Sun Aug 5 15:54:01 UTC 2012
It is considered good practice to use the build system provided
variables instead of directly specify hardcoded paths.
Signed-off-by: Javier Martinez Canillas <javier at dowhile0.org>
---
meta/recipes-devtools/rpm/rpm_5.4.9.bb | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/meta/recipes-devtools/rpm/rpm_5.4.9.bb b/meta/recipes-devtools/rpm/rpm_5.4.9.bb
index e276cc3..d93bd4d 100644
--- a/meta/recipes-devtools/rpm/rpm_5.4.9.bb
+++ b/meta/recipes-devtools/rpm/rpm_5.4.9.bb
@@ -421,8 +421,8 @@ do_install_append() {
rm -f ${D}/${libdir}/rpm/bin/dbconvert
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 -rf ${D}${localstatedir}/lib/wdj ${D}${localstatedir}/cache/wdj
+ rm -f ${D}${libdir}/rpm/bin/api-sanity-checker.pl
}
do_install_append_virtclass-native() {
--
1.7.7.6
More information about the Openembedded-core
mailing list