mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-06-14 01:03:54 +00:00
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