9
0
forked from pool/python-drgn

Fix build for legacy distributions #2

Merged
petesarik merged 1 commits from petesarik/python-drgn:main into main 2025-05-28 19:23:11 +02:00

1 Commits

Author SHA256 Message Date
Petr Tesarik
b8b05b65e4 Fix build for legacy distributions
The readline module is part of Python itself, but it must be required
explicitly on newer distributions (16.0, Factory). However, Python
packages in older distributions (15.x and earlier) do not have the
corresponding Provides. :-(

Solve it by Build-requiring %pythons. Yes, it does bring a lot of
unneded stuff into the build environment...

Signed-off-by: Petr Tesarik <ptesarik@suse.com>
2025-05-28 19:16:27 +02:00