Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions herwig7.spec
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,12 @@ Requires: openloops
BuildRequires: autotools


Patch0: herwig_Matchbox_mg_py3

%prep
%setup -q -n Herwig-%{realversion}

%patch0 -p1

# Regenerate build scripts
autoreconf -fiv
Expand Down
11 changes: 11 additions & 0 deletions herwig_Matchbox_mg_py3.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
--- Herwig-7.2.2/MatrixElement/Matchbox/External/MadGraph/mg2herwig.in 2021-07-21 03:10:26.000000001 +0200
+++ mg2herwig_patched 2021-07-21 13:33:43.000000001 +0200
@@ -224,7 +224,7 @@
sys.stderr.write("*** MadGraph build failed, check logfile for details ***")
exit(1)

-os.system("python "+options.madgraph+"/mg5_aMC proc.dat")
+os.system("python3 "+options.madgraph+"/mg5_aMC proc.dat")