Patchwork [meta-networking,3/3] accel-ppp: resolve QA warnings and satisfy multilib

login
register
mail settings
Submitter Aws Ismail
Date Feb. 14, 2013, 8:39 p.m.
Message ID <1360874362-25860-4-git-send-email-aws.ismail@windriver.com>
Download mbox | patch
Permalink /patch/44655/
State Accepted, archived
Headers show

Comments

Aws Ismail - Feb. 14, 2013, 8:39 p.m.
Create -libs and -dbg splits to include .so and .debug
files, respectively to resolve the QA warning:
lib64-accel-ppp rdepends on lib64-accel-ppp-dev when
multilib is being used.

Signed-off-by: Aws Ismail <aws.ismail@windriver.com>
---
 .../recipes-protocols/accel-ppp/accel-ppp_git.bb   |    7 +++++++
 .../traceroute/traceroute_2.0.18.bb                |    4 ++--
 2 files changed, 9 insertions(+), 2 deletions(-)

Patch

diff --git a/meta-networking/recipes-protocols/accel-ppp/accel-ppp_git.bb b/meta-networking/recipes-protocols/accel-ppp/accel-ppp_git.bb
index 9eb9bf8..d17cc78 100644
--- a/meta-networking/recipes-protocols/accel-ppp/accel-ppp_git.bb
+++ b/meta-networking/recipes-protocols/accel-ppp/accel-ppp_git.bb
@@ -8,6 +8,7 @@  DEPENDS = "openssl libpcre"
 
 inherit cmake
 
+PR = "r1"
 PV = "1.7.3+git"
 
 SRCREV = "4acfa46c321a344b9a6ce4128e72d1e02828d8a0"
@@ -23,3 +24,9 @@  EXTRA_OECMAKE = " \
                  -DRADIUS=FALSE \
                  -DNETSNMP=FALSE \
                 "
+FILES_${PN}-dbg += "/usr/lib/${BPN}/.debug/*"
+
+PACKAGES =+ "${PN}-libs"
+FILES_${PN}-libs = "${libdir}/${BPN}/*.so /usr/lib/${BPN}/*.so"
+INSANE_SKIP_${PN}-libs = "dev-so"
+RDEPENDS_${PN} += "${PN}-libs"
diff --git a/meta-networking/recipes-support/traceroute/traceroute_2.0.18.bb b/meta-networking/recipes-support/traceroute/traceroute_2.0.18.bb
index f5f96b2..f523140 100644
--- a/meta-networking/recipes-support/traceroute/traceroute_2.0.18.bb
+++ b/meta-networking/recipes-support/traceroute/traceroute_2.0.18.bb
@@ -34,8 +34,8 @@  do_install() {
 
     install -d ${D}${mandir}
     install -p -m644 ${BPN}/${BPN}.8 ${D}${mandir}
-    ln -s ${PN}.8 ${D}${mandir}/${BPN}6.8
-    ln -s ${PN}.8 ${D}${mandir}/tcptraceroute.8
+    ln -s ${BPN}.8 ${D}${mandir}/${BPN}6.8
+    ln -s ${BPN}.8 ${D}${mandir}/tcptraceroute.8
 
 }