lapack: fix lapack-ptest rdepends on lapack-dev

When LAPACKE is enabled, the QA check fails with the following error:
  ERROR: lapack-3.12.1-r0 do_package_qa: QA Issue: lapack-ptest rdepends on lapack-dev [dev-deps]
  ERROR: lapack-3.12.1-r0 do_package_qa: Fatal QA errors were found, failing task.
The root cause is that `lapack-ptest` accidentally installed `lapacke.pc`,
which is a development file intended to be included only in the `lapack-dev` package.
To resolve this: Remove `lapacke.pc` from the `lapack-ptest` installation

Signed-off-by: Zhang Peng <peng.zhang1.cn@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Zhang Peng 2025-02-16 00:16:49 +08:00 committed by Khem Raj
parent 3ab42ea30e
commit 94ee7bf2db
No known key found for this signature in database
GPG Key ID: BB053355919D3314

View File

@ -88,7 +88,8 @@ do_install_ptest () {
rsync -a ${B}/LAPACKE ${D}${PTEST_PATH} \
--exclude CMakeFiles \
--exclude cmake_install.cmake \
--exclude Makefile
--exclude Makefile \
--exclude lapacke.pc
cp -r ${B}/bin ${D}${PTEST_PATH}
cp -r ${B}/lapack_testing.py ${D}${PTEST_PATH}
cp ${B}/CTestTestfile.cmake ${D}${PTEST_PATH}