From df1111c24a9cb6e20b989605e944faa202127625 Mon Sep 17 00:00:00 2001 From: Wouter Deconinck Date: Mon, 20 Nov 2023 02:20:21 -0600 Subject: sherpa: only enable_or_disable in v3: (#41162) --- var/spack/repos/builtin/packages/sherpa/package.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/var/spack/repos/builtin/packages/sherpa/package.py b/var/spack/repos/builtin/packages/sherpa/package.py index 7ae8efc2e4..38fa6277f5 100644 --- a/var/spack/repos/builtin/packages/sherpa/package.py +++ b/var/spack/repos/builtin/packages/sherpa/package.py @@ -217,7 +217,7 @@ class Sherpa(AutotoolsPackage): args.extend(self.enable_or_disable("pythia")) hepmc_root = lambda x: self.spec["hepmc"].prefix args.extend(self.enable_or_disable("hepmc2", activation_value=hepmc_root)) - if self.spec.satisfies("@2.2.13:"): + if self.spec.satisfies("@3:"): args.extend(self.enable_or_disable("hepmc3", activation_value="prefix")) args.extend(self.enable_or_disable("rivet", activation_value="prefix")) args.extend(self.enable_or_disable("lhapdf", activation_value="prefix")) -- cgit v1.2.3-70-g09d2