For a Python recipe, I've tried using:
defineDebugInfoPackage python$pyShortVer$secondaryArchSuffix \
$prefix/lib/python3.10/lib-dynload/*.so
to avoid having to manually list 70+ files. Errors out with: "No such file".
Globs are accepted in packageEntries, and prepareInstalledDevelLib. Would be nice if defineDebugInfoPackage did too.