Knowledge base dedicated to Linux and applied mathematics.
Home > Linux > RPM > How to turn off / avoid brp-python-bytecompile script in a spec file ?
All the versions of this article: <English> <français>
To turn off the brp-python-bytecompile script in a spec file:
# Turn off the brp-python-bytecompile script
%global __os_install_post %(echo '%{__os_install_post}' | sed -e 's!/usr/lib[^[:space:]]*/brp-python-bytecompile[[:space:]].*$!!g')