proj: Fix do_package QA issue for unshipped bash-completion files

Add bash-completion directory to FILES to resolve the installed-vs-shipped QA error.

Fix:

ERROR: proj-9.7.0-r0 do_package: QA Issue: proj: Files/directories were installed but not shipped in any package:
  /usr/share/bash-completion
  /usr/share/bash-completion/completions
  /usr/share/bash-completion/completions/projinfo
Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install.
proj: 3 installed and not shipped files. [installed-vs-shipped]
ERROR: proj-9.7.0-r0 do_package: Fatal QA errors were found, failing task.

Signed-off-by: Alper Ak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Alper Ak 2025-11-28 22:34:25 +03:00 committed by Khem Raj
parent 91389e4d5a
commit 1175d5c8c1
No known key found for this signature in database
GPG Key ID: BB053355919D3314

View File

@ -12,7 +12,9 @@ inherit bash-completion cmake lib_package pkgconfig
EXTRA_OECMAKE = "-DBUILD_TESTING=OFF"
FILES:${PN} += "${datadir}/proj"
FILES:${PN} += " \
${datadir}/proj \
${datadir}/bash-completion"
BBCLASSEXTEND = "native"