This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author bkabrda
Recipients BreamoreBoy, bkabrda, dmalcolm, docs@python, eric.araujo, ncoghlan
Date 2014-07-16.07:09:52
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1405494593.31.0.516209062582.issue16237@psf.upfronthosting.co.za>
In-reply-to
Content
Hi, so I'm not sure I understand this correctly. AFAICS there are two patches in issue 14443 that are, to certain degree, independent. As for the patch that overrides __os_install_post [1], that is no longer needed in RHEL 7, since the line

    /usr/lib/rpm/brp-python-bytecompile \

in RHEL 6 RPM has been replaced by

    /usr/lib/rpm/brp-python-bytecompile %{__python} %{?_python_bytecompile_errors_terminate_build} \

in RHEL 7 RPM. The other patch referenced from that issue that defines macro __python to self.python (meaning either sys.executable or "python3") [2] is still needed, I believe.

I hope that this answers the question.

[1] http://hg.python.org/cpython/rev/a9a12ad553f0
[2] http://hg.python.org/cpython/rev/3d61e27cc570
History
Date User Action Args
2014-07-16 07:09:53bkabrdasetrecipients: + bkabrda, ncoghlan, eric.araujo, dmalcolm, docs@python, BreamoreBoy
2014-07-16 07:09:53bkabrdasetmessageid: <1405494593.31.0.516209062582.issue16237@psf.upfronthosting.co.za>
2014-07-16 07:09:53bkabrdalinkissue16237 messages
2014-07-16 07:09:52bkabrdacreate