rpmbuild brp-python-bytecompile does not honor %{__python} in Red Hat Enterprise Linux 8
Issue
- I'm using a custom
pythoninterpreter, which is not/usr/bin/python. - The expectation is that
rpmbuilduses the custompythoninterpreter forbrp-python-bytecompileby defining%{__python}. - But
%{__python}was not honored, and/usr/bin/pythonwas used forbrp-python-bytecompile.
Environment
Red Hat Enterprise Linux 8
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.