rpmbuild brp-python-bytecompile does not honor %{__python}

Solution Verified - Updated -

Issue

  • Developers can specify a different python interpreter by defining the __python macro.
  • Although brp-python-bytecompile can use a custom python interpreter specified as $1, the default __os_install_post macro neglects to do so.

Environment

  • Red Hat Enterprise Linux 6.6
  • redhat-rpm-config

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.