diff --git a/mono-core.spec b/mono-core.spec index b7a61d3109..6deeb1d4cb 100644 --- a/mono-core.spec +++ b/mono-core.spec @@ -36,7 +36,6 @@ Group: Development/Languages/Mono Url: http://www.mono-project.com Source0: http://download.mono-project.com/sources/mono/mono-%{version}.tar.xz Patch0: llvm_llc_opt_default_path.patch -Patch1: use_python3_not_unversioned.patch BuildRequires: autoconf BuildRequires: automake BuildRequires: bison @@ -143,9 +142,6 @@ technologies that have been submitted to the ECMA for standardization. %prep %setup -q -n mono-%{version} %patch0 -p1 -%if 0%{?rhel} >= 8 -%patch1 -p1 -%endif %build %{?scl:scl enable %{scl} - << \EOF} diff --git a/use_python3_not_unversioned.patch b/use_python3_not_unversioned.patch deleted file mode 100644 index 88ea343264..0000000000 --- a/use_python3_not_unversioned.patch +++ /dev/null @@ -1,23 +0,0 @@ -diff --git a/mono/mini/Makefile.am.in b/mono/mini/Makefile.am.in -index 60055ce9ac9..b91c74ec3a8 100755 ---- a/mono/mini/Makefile.am.in -+++ b/mono/mini/Makefile.am.in -@@ -776,7 +776,7 @@ MemoryIntrinsics.dll: MemoryIntrinsics.il - - GENMDESC_OPTS= - --GENMDESC_PRG=python $(srcdir)/genmdesc.py $(target_define) $(srcdir) -+GENMDESC_PRG=python3 $(srcdir)/genmdesc.py $(target_define) $(srcdir) - - cpu-wasm.h: mini-ops.h cpu-wasm.md $(srcdir)/genmdesc.py - $(GENMDESC_PRG) cpu-wasm.h wasm_desc $(srcdir)/cpu-wasm.md -diff --git a/scripts/mono-heapviz b/scripts/mono-heapviz -index 27b6f7f6023..c4a4847bbe6 100755 ---- a/scripts/mono-heapviz -+++ b/scripts/mono-heapviz -@@ -1,4 +1,4 @@ --#!/usr/bin/env python -+#!/usr/bin/env python3 - - # Generate a heap visualization for SGen from the heap dump written by - # mono if the MONO_GC_DEBUG is set to something like