From: Thierry Parmentelat Date: Thu, 28 Nov 2019 10:58:31 +0000 (+0100) Subject: skip byte-compilation X-Git-Url: http://git.onelab.eu/?p=pypcilib.git;a=commitdiff_plain;h=d15a7dd87af440474e3fffeb8d8d45bdd5e139af skip byte-compilation --- diff --git a/pypcilib.spec b/pypcilib.spec index 6d24a9b..8e58828 100644 --- a/pypcilib.spec +++ b/pypcilib.spec @@ -9,6 +9,10 @@ %{!?python_sitelib: %define python_sitelib %(%{__python2} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} %{!?python_sitearch: %define python_sitearch %(%{__python2} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} +# https://fedoraproject.org/wiki/Changes/No_more_automagic_Python_bytecompilation +# Turn off the brp-python-bytecompile automagic +%global _python_bytecompile_extra 0 + Summary: Python library for doing PCI stuff Name: %{name} Version: %{version}