From 08290bc9c39a293634a5fc649ca27b6468f9c6d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Tue, 3 Jul 2018 14:02:51 +0200 Subject: [PATCH] Add a workaround for broken %undefine __brp_python_bytecompile See https://bugzilla.redhat.com/show_bug.cgi?id=1597664 --- python2.spec | 4 ++++ 1 file changed, 4 insertions(+) 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: