Math-Linux.com

Knowledge base dedicated to Linux and applied mathematics.

Home > Linux > RPM > How to turn off / avoid brp-python-bytecompile script in a spec file (...)

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:

<pre><code class="language-bash">
# 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')

Any message or comments?

comments powered by Disqus