python: Fix creating RPMs from Python packages
This should enable (manual) building of RPMs from python projects using the `python setup.py bdist_rpm` command on systems where `rpmbuild` is not located in `/usr/bin/`. (e.g. NixOS) The discovery of the rpmbuild command was fixed upstream in Python 3.8, so this commit backports the relevant patch to our currently supported Python 3 versions. Fixes: #85204
parent
603ce3e2
Please register or sign in to comment