https://bugzilla.redhat.com/show_bug.cgi?id=2295577
Bug ID: 2295577 Summary: Python build backend changed to scikit-build-core Product: Fedora Version: rawhide OS: Linux Status: NEW Component: pocketsphinx Severity: medium Assignee: redhat@flyn.org Reporter: fedora@lecris.me QA Contact: extras-qa@fedoraproject.org CC: epel-packagers-sig@lists.fedoraproject.org, redhat@flyn.org Target Milestone: --- Classification: Fedora
Could you review the spec file here to see if the build instructions needs to be changed?
I am not sure how python module is linked when it is built via `%pyproject_wheel`, but if it's just a linked as shared library, than you can do the same as I do with `spglib` which uses the same bakend: - Build with `%cmake` and disabled python - Build with `%pyproject_wheel` - Delete duplicate files [1] - Install the full `%pyproject_files`
This guarantees the python metadata files are also picked up
If it's a static link, that's rather tricky.
[1]: https://github.com/spglib/spglib/blob/9acbe6dcd8ceedbec76426b6d107c46a6c9b74...
Reproducible: Always
epel-packagers-sig@lists.fedoraproject.org