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:

# 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')

Also in this section

  1. RPM What files have been changed ? — Verify System Files
  2. How to list / find out what files are in rpm package ?
  3. How to turn off / avoid brp-python-bytecompile script in a spec file ?
  4. yumdownloader how to download RPM package without installing it
  5. yumdownloader comment télécharger un RPM sans l’installer