skip byte-compilation
authorThierry Parmentelat <thierry.parmentelat@inria.fr>
Thu, 28 Nov 2019 10:58:31 +0000 (11:58 +0100)
committerThierry Parmentelat <thierry.parmentelat@inria.fr>
Thu, 28 Nov 2019 10:58:31 +0000 (11:58 +0100)
pypcilib.spec

index 6d24a9b..8e58828 100644 (file)
@@ -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)")}
 
 %{!?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}
 Summary: Python library for doing PCI stuff
 Name: %{name}
 Version: %{version}