From 2f5eb8f1b87a1ac3765cabc73e520ea643087ab4 Mon Sep 17 00:00:00 2001 From: "Qi.Chen@windriver.com" Date: Wed, 21 Oct 2015 15:47:38 +0800 Subject: rrdtool: fix file locations When we build rrdtool, we would meet the following QA issue. QA Issue: /usr/share/rrdtool/examples/stripes.py_rrdtool-perl contained in package rrdtool-perl requires /usr/bin/python, but no providers found in its RDEPENDS [file-rdeps] The problem is that /usr/share/rrdtool/examples not only contain perl examples, but also contains python examples. Besides, ${datadir}/examples don't exist, fix it to be ${datadir}/rrdtool/examples. Signed-off-by: Chen Qi Signed-off-by: Martin Jansa --- meta-oe/recipes-extended/rrdtool/rrdtool_1.5.4.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta-oe/recipes-extended/rrdtool/rrdtool_1.5.4.bb b/meta-oe/recipes-extended/rrdtool/rrdtool_1.5.4.bb index d4f9834d0..14e196656 100644 --- a/meta-oe/recipes-extended/rrdtool/rrdtool_1.5.4.bb +++ b/meta-oe/recipes-extended/rrdtool/rrdtool_1.5.4.bb @@ -102,11 +102,11 @@ do_configure() { PACKAGES =+ "${PN}-perl ${PN}-python" -FILES_${PN}-doc += "${datadir}/examples" +FILES_${PN}-doc += "${datadir}/rrdtool/examples" DESCRIPTION_${PN}-perl = \ "The ${PN}-perl package includes RRDtool bindings for perl." -FILES_${PN}-perl = "${libdir}/perl/vendor_perl/*/*.pm ${datadir}/rrdtool/examples \ +FILES_${PN}-perl = "${libdir}/perl/vendor_perl/*/*.pm \ ${libdir}/perl/vendor_perl/*/auto/RRDs/RRDs.*" RDEPENDS_${PN}-perl = "perl perl-module-lib perl-module-getopt-long perl-module-time-hires \ perl-module-io-file perl-module-ipc-open2 perl-module-io-socket" -- cgit v1.2.3-54-g00ecf