diff --git a/insight.spec b/insight.spec index 9521a7c..ec52023 100644 --- a/insight.spec +++ b/insight.spec @@ -2,11 +2,8 @@ %global snap 20200110 %global gnulibsnap 20191216 -%global __python %{__python3} - -# This package depends on automagic byte compilation -# https://fedoraproject.org/wiki/Changes/No_more_automagic_Python_bytecompilation_phase_2 -%global _python_bytecompile_extra 1 +# Turn off the brp-python-bytecompile automagic +%global _python_bytecompile_extra 0 # Git snapshots are produced as follows: @@ -220,7 +217,7 @@ LDFLAGS="${LDFLAGS:-%{?build_ldflags}}" ; export LDFLAGS --with-system-readline \ --with-system-zlib \ --with-expat \ - --with-python=%{__python} \ + --with-python=%{__python3} \ --with-tclinclude="${TCL_SRC_DIR}" \ --with-tkinclude="${TK_SRC_DIR}" \ --without-libunwind \ @@ -337,7 +334,7 @@ ${INSTALL} -m 644 gdb/gdbtk/insight_icon.svg \ # Python byte compile, but not in auto-load. -%py_byte_compile %{__python} %{buildroot}%{_datadir}/insight/python +%py_byte_compile %{__python3} %{buildroot}%{_datadir}/insight/python/gdb #------------------------------------------------------------------------------- %files @@ -359,6 +356,7 @@ ${INSTALL} -m 644 gdb/gdbtk/insight_icon.svg \ * Wed Jul 1 2020 Patrick Monnerat 10.0.50.20200110-6 - Rebuild for guile 2.2. https://bugzilla.redhat.com/show_bug.cgi?id=1852708 +- Turn off the brp-python-bytecompile automagic. * Tue May 26 2020 Miro HronĨok - 10.0.50.20200110-5 - Rebuilt for Python 3.9