Skip to content

Commit

Permalink
version
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Applencourt committed Oct 18, 2024
1 parent af4a231 commit 78e8b31
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/thapi/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ class Thapi(AutotoolsPackage):
depends_on('lttng-ust@:2.12.999', type=('build', 'link', 'run'), when='@:0.0.7')
depends_on('lttng-tools@:2.12.999', type=('build', 'link', 'run'), when='@:0.0.7')

if spack.spack_version in spack.version.ver(':0.22.999'):
# Restricting to ruby <= 3.1 when spack is less than 0.23
if spack.version.Version(spack.spack_version) < spack.version.Version("0.23"):
depends_on('[email protected]:3.1', type=('build', 'run'))
else:
depends_on('[email protected]:', type=('build', 'run'))
Expand Down

0 comments on commit 78e8b31

Please sign in to comment.