diff options
author | Todd Gamblin <tgamblin@llnl.gov> | 2014-05-17 15:17:40 -0700 |
---|---|---|
committer | Todd Gamblin <tgamblin@llnl.gov> | 2014-06-22 12:33:49 -0700 |
commit | ed6454fe78c8de2efb08d3c85e41fddd6fe704fb (patch) | |
tree | 6f95eefa496f8789df1b3851f3d322a06c40a906 /bin | |
parent | 285c5444ab0e1522b8e04b2052bfe5649f6838a3 (diff) | |
download | spack-ed6454fe78c8de2efb08d3c85e41fddd6fe704fb.tar.gz spack-ed6454fe78c8de2efb08d3c85e41fddd6fe704fb.tar.bz2 spack-ed6454fe78c8de2efb08d3c85e41fddd6fe704fb.tar.xz spack-ed6454fe78c8de2efb08d3c85e41fddd6fe704fb.zip |
Better satisfies: e.g., v4.7.3 now satisfies v4.7
- Changed how satisfies() is defined for the various version classes
- Can't just use overlaps() with version lists -- need to account for
more and less specific versions.
If the version is more specific than the constriant (e.g., 4.7.3 is more
specific than 4.7), then it should satisfy the constraint, because if
a user asks for 4.7 they likely do not care about the minor version. If they
do, they can specify it. New Version.satisfies() takes this into account.
Diffstat (limited to 'bin')
0 files changed, 0 insertions, 0 deletions