diff mbox series

[RFC] libfaketime: simplify packaging

Message ID 20230830151446.3375230-1-Martin.Jansa@gmail.com
State Under Review
Headers show
Series [RFC] libfaketime: simplify packaging | expand

Commit Message

Martin Jansa Aug. 30, 2023, 3:14 p.m. UTC
* avoid dev-so QA issue

* avoid separate package for the library, because the current "lib${PN}"
  has a bit ridiculous name in mulilib builds:
  lib32-liblib32-libfaketime

* fixes:
  ERROR: lib32-libfaketime-0.9.10-r0 do_package_qa: QA Issue: non -dev/-dbg/nativesdk- package lib32-liblib32-libfaketime contains symlink .so '/usr/lib32/faketime/libfaketime.so' [dev-so]

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
 meta-oe/recipes-test/libfaketime/libfaketime_0.9.10.bb | 9 ++-------
 1 file changed, 2 insertions(+), 7 deletions(-)
diff mbox series

Patch

diff --git a/meta-oe/recipes-test/libfaketime/libfaketime_0.9.10.bb b/meta-oe/recipes-test/libfaketime/libfaketime_0.9.10.bb
index 6a0a8f32af..f13925ee18 100644
--- a/meta-oe/recipes-test/libfaketime/libfaketime_0.9.10.bb
+++ b/meta-oe/recipes-test/libfaketime/libfaketime_0.9.10.bb
@@ -24,10 +24,5 @@  do_install () {
     install -m 0755 src/faketime ${D}${bindir}
 }
 
-PACKAGES =+ "lib${PN}"
-
-FILES:${PN} = "${bindir}/faketime"
-FILES:lib${PN} = "${libdir}/faketime/*"
-
-INSANE_SKIP:${PN} += "dev-so"
-INSANE_SKIP:lib${PN} += "dev-so"
+FILES:${PN} = "${bindir}/faketime ${libdir}/faketime/lib*${SOLIBS}"
+FILES:${PN}-dev += "${libdir}/faketime/lib*${SOLIBSDEV}"