You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I mean, the rpm works on all versions now, but it includes byte-compiled files for python-2.7 which means every time someone runs it on RHEL6, it's generating those and then trying to write them.
The correct approach would be to have a separate rpm for RHEL6 vs RHEL7+ ... sigh.
I mean, the rpm works on all versions now, but it includes byte-compiled files for python-2.7 which means every time someone runs it on RHEL6, it's generating those and then trying to write them.
The correct approach would be to have a separate rpm for RHEL6 vs RHEL7+ ... sigh.
https://fedoraproject.org/wiki/Packaging:Python#Files_to_include
The other ("incorrect") approach would be to exclude such files in the rpmbuild and have a postinstall script that generates them.
The text was updated successfully, but these errors were encountered: