- Switch from legacy setup.py to %pyproject_wheel and %pyproject_install.
- Update BuildRequires to include python-pip, wheel, and setuptools.
- Add missing runtime dependencies: python-six and python-python-xlib.
- Fix python-bytecode-inconsistent-mtime by cleaning up pyc files.
- Remove obsolete setup.py patching in %prep.
- Update %files to use .dist-info metadata format.