From 03ab5dee319fa30e5e3376bba3f459f20b4a32c2 Mon Sep 17 00:00:00 2001
From: Joseph Wang <joequant@gmail.com>
Date: Sat, 9 Oct 2021 22:11:58 +0800
Subject: evtgen: fix pythia typo (#26625)

---
 var/spack/repos/builtin/packages/evtgen/package.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/var/spack/repos/builtin/packages/evtgen/package.py b/var/spack/repos/builtin/packages/evtgen/package.py
index 0809a4ba1a..85f80e03e5 100644
--- a/var/spack/repos/builtin/packages/evtgen/package.py
+++ b/var/spack/repos/builtin/packages/evtgen/package.py
@@ -27,7 +27,7 @@ class Evtgen(CMakePackage):
     variant('hepmc3', default=False, description='Link with hepmc3 (instead of hepmc)')
 
     patch("g2c.patch", when='@01.07.00')
-    patch("evtgen-2.0.0.patch", when='@02.00.00 ^pythia@8.304:')
+    patch("evtgen-2.0.0.patch", when='@02.00.00 ^pythia8@8.304:')
 
     depends_on('hepmc', when='~hepmc3')
     depends_on('hepmc3', when='+hepmc3')
-- 
cgit v1.2.3-70-g09d2