summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/votca-csg/package.py2
-rw-r--r--var/spack/repos/builtin/packages/votca-ctp/package.py4
-rw-r--r--var/spack/repos/builtin/packages/votca-xtp/package.py5
3 files changed, 5 insertions, 6 deletions
diff --git a/var/spack/repos/builtin/packages/votca-csg/package.py b/var/spack/repos/builtin/packages/votca-csg/package.py
index feadf40812..1aa8f0f2ce 100644
--- a/var/spack/repos/builtin/packages/votca-csg/package.py
+++ b/var/spack/repos/builtin/packages/votca-csg/package.py
@@ -27,6 +27,6 @@ class VotcaCsg(CMakePackage):
depends_on("cmake@2.8:", type='build')
for v in ["1.4", "1.4.1", "1.5", "1.5.1", "develop"]:
- depends_on('votca-tools@%s' % v, when="@%s" % v)
+ depends_on('votca-tools@%s' % v, when="@%s:%s.0" % (v, v))
depends_on("gromacs~mpi@5.1:")
depends_on("hdf5~mpi")
diff --git a/var/spack/repos/builtin/packages/votca-ctp/package.py b/var/spack/repos/builtin/packages/votca-ctp/package.py
index 130426e4b7..e7fdbe55bf 100644
--- a/var/spack/repos/builtin/packages/votca-ctp/package.py
+++ b/var/spack/repos/builtin/packages/votca-ctp/package.py
@@ -25,6 +25,6 @@ class VotcaCtp(CMakePackage):
depends_on("cmake@2.8:", type='build')
for v in ["1.5", "1.5.1", "develop"]:
- depends_on('votca-tools@%s' % v, when="@%s" % v)
- depends_on('votca-csg@%s' % v, when="@%s" % v)
+ depends_on('votca-tools@%s' % v, when="@%s:%s.0" % (v, v))
+ depends_on('votca-csg@%s' % v, when="@%s:%s.0" % (v, v))
depends_on("gsl")
diff --git a/var/spack/repos/builtin/packages/votca-xtp/package.py b/var/spack/repos/builtin/packages/votca-xtp/package.py
index e1cc2ebafb..ae53f4dc6e 100644
--- a/var/spack/repos/builtin/packages/votca-xtp/package.py
+++ b/var/spack/repos/builtin/packages/votca-xtp/package.py
@@ -26,8 +26,7 @@ class VotcaXtp(CMakePackage):
depends_on("cmake@2.8:", type='build')
for v in ["1.4.1", "1.5", "1.5.1", "develop"]:
- depends_on('votca-tools@%s' % v, when="@%s" % v)
- depends_on('votca-csg@%s' % v, when="@%s" % v)
- depends_on("votca-ctp@develop", when='@develop')
+ depends_on('votca-tools@%s' % v, when="@%s:%s.0" % (v, v))
+ depends_on('votca-csg@%s' % v, when="@%s:%s.0" % (v, v))
depends_on("libxc", when='@1.5:')
depends_on("ceres-solver", when='@1.5:')