From d15a7dd87af440474e3fffeb8d8d45bdd5e139af Mon Sep 17 00:00:00 2001 From: Thierry Parmentelat Date: Thu, 28 Nov 2019 11:58:31 +0100 Subject: [PATCH] skip byte-compilation --- pypcilib.spec | 4 ++++ 1 file changed, 4 insertions(+) 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} -- 2.43.0