Skip to contentSkip to conversation

libgpiod: packageqa problem => static python lib to ${PN}-staticdev

PATCH New Christian B. Sørensen 1 participant 1 message Feb 23, 2021

lore
Share & tools
lore
#0 lore raw

PATCH v3 1/1 libgpiod: packageqa problem => static python lib to ${PN}-staticdev

Problem:
QA Issue: non -staticdev package contains static .a library

Reason:
Both /usr/lib/python3.8/site-packages/gpiod.a and /usr/lib/python3.8/site-packages/gpiod.so are in ${PN}-python.

---
 meta-oe/recipes-support/libgpiod/libgpiod_1.6.2.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
meta-oe/recipes-support/libgpiod/libgpiod_1.6.2.bb +2 -1
index e6b6476e2..c6c262b70 100644
@@ -31,7 +31,8 @@ FILES_${PN}-tools = "${bindir}/*"
 FILES_libgpiodcxx = "${libdir}/libgpiodcxx.so.*"
 
 PACKAGES =+ "${PN}-python"
-FILES_${PN}-python = "${PYTHON_SITEPACKAGES_DIR}"
+FILES_${PN}-python = "${PYTHON_SITEPACKAGES_DIR}/*.so"
+FILES_${PN}-staticdev += "${PYTHON_SITEPACKAGES_DIR}/*.a"
 RRECOMMENDS_PYTHON = "${@bb.utils.contains('PACKAGECONFIG', 'python3', '${PN}-python', '',d)}"
 RRECOMMENDS_${PN}-python += "${RRECOMMENDS_PYTHON}"
 
Signature · 1 line
2.25.1