From 08290bc9c39a293634a5fc649ca27b6468f9c6d3 Mon Sep 17 00:00:00 2001 From: Miro HronĨok Date: Jul 03 2018 12:02:51 +0000 Subject: Add a workaround for broken %undefine __brp_python_bytecompile See https://bugzilla.redhat.com/show_bug.cgi?id=1597664 --- diff --git a/python2.spec b/python2.spec index dc6b1ff..8b614d7 100644 --- a/python2.spec +++ b/python2.spec @@ -70,6 +70,10 @@ # available in /usr/bin when Python is built. Also, the bytecompilation fails # on files that test invalid syntax. %undefine __brp_python_bytecompile +# The above is broken now +# https://bugzilla.redhat.com/show_bug.cgi?id=1597664 +# This is an older non-standard way to disable the brp script, as a workaround +%undefine py_auto_byte_compile # We need to get a newer configure generated out of configure.in for the following # patches: