[oe] [PATCH 1/2] db{4,5}.inc: fix QA: non -dev contains .so

Michael Kurz betheg at bitcloner.org
Tue Aug 24 08:18:45 UTC 2010


Signed-off-by: Michael Kurz <betheg at bitcloner.org>
---
 recipes/db/db4.inc |    3 +--
 recipes/db/db5.inc |    3 +--
 2 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/recipes/db/db4.inc b/recipes/db/db4.inc
index 7e5c327..2595d81 100644
--- a/recipes/db/db4.inc
+++ b/recipes/db/db4.inc
@@ -43,12 +43,11 @@ B = "${WORKDIR}/db-${PV}/build_unix"
 PACKAGES += " ${PN}-bin"
 
 # Package contents
-FILES_${PN} = "${libdir}/libdb-4*so*"
+FILES_${PN} = "${libdir}/libdb-${PVM}${SOLIBSDEV}"
 FILES_${PN}-bin = "${bindir}/*"
 # The dev package has the .so link (as in db3) and the .a's -
 # it is therefore incompatible (cannot be installed at the
 # same time) as the db3 package
-FILES_${PN}-dev = "${includedir} ${libdir}/*"
 
 EXTRA_OECONF = "${DB4_CONFIG}"
 
diff --git a/recipes/db/db5.inc b/recipes/db/db5.inc
index 557cb4c..1aeee49 100644
--- a/recipes/db/db5.inc
+++ b/recipes/db/db5.inc
@@ -43,12 +43,11 @@ B = "${WORKDIR}/db-${PV}/build_unix"
 PACKAGES += " ${PN}-bin"
 
 # Package contents
-FILES_${PN} = "${libdir}/libdb-5*so*"
+FILES_${PN} = "${libdir}/libdb-${PVM}${SOLIBSDEV}"
 FILES_${PN}-bin = "${bindir}/*"
 # The dev package has the .so link (as in db3) and the .a's -
 # it is therefore incompatible (cannot be installed at the
 # same time) as the db3 package
-FILES_${PN}-dev = "${includedir} ${libdir}/*"
 
 EXTRA_OECONF = "${DB5_CONFIG}"
 
-- 
1.7.1





More information about the Openembedded-devel mailing list