summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/edm4hep/package.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/edm4hep/package.py b/var/spack/repos/builtin/packages/edm4hep/package.py
index 90287135ca..cfa8c142bc 100644
--- a/var/spack/repos/builtin/packages/edm4hep/package.py
+++ b/var/spack/repos/builtin/packages/edm4hep/package.py
@@ -36,7 +36,8 @@ class Edm4hep(CMakePackage):
depends_on('podio@0.14:', when='@0.4:')
depends_on('podio@0.13.0:0.13', when='@:0.3')
- depends_on('hepmc@:2', type='test')
+ depends_on('hepmc@:2', type='test', when='@:0.4.0')
+ depends_on('hepmc3', type='test', when='@0.4.1:')
depends_on('heppdt', type='test')
depends_on('catch2@3.0.1:', type='test')