summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin.mock/packages/with-constraint-met/package.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/var/spack/repos/builtin.mock/packages/with-constraint-met/package.py b/var/spack/repos/builtin.mock/packages/with-constraint-met/package.py
index 00c786f0b9..137e0be862 100644
--- a/var/spack/repos/builtin.mock/packages/with-constraint-met/package.py
+++ b/var/spack/repos/builtin.mock/packages/with-constraint-met/package.py
@@ -17,4 +17,7 @@ class WithConstraintMet(Package):
with when('@1.0'):
depends_on('b')
- conflicts('%gcc')
+ conflicts('%gcc', when='+foo')
+
+ with when('@0.14: ^b@:4.0'):
+ depends_on('c', when='@:15 ^b@3.8:')