summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordlkuehn <dkuehn@iastate.edu>2022-04-14 12:02:06 -0500
committerGitHub <noreply@github.com>2022-04-14 10:02:06 -0700
commitb09fb467f162e30903acf6ddc7a12a2969147b68 (patch)
treed49f3cdb0dadf4f33490a44492f1375362cdd383
parentdec3e31e60ccea41d20c87073bf723c382074f08 (diff)
downloadspack-b09fb467f162e30903acf6ddc7a12a2969147b68.tar.gz
spack-b09fb467f162e30903acf6ddc7a12a2969147b68.tar.bz2
spack-b09fb467f162e30903acf6ddc7a12a2969147b68.tar.xz
spack-b09fb467f162e30903acf6ddc7a12a2969147b68.zip
Package rna-seqc: Change jdk dependency to java (#30049)
Co-authored-by: David Kuehn <las_dkuehn@iastate.edu>
-rw-r--r--var/spack/repos/builtin/packages/rna-seqc/package.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/rna-seqc/package.py b/var/spack/repos/builtin/packages/rna-seqc/package.py
index c4d9b3b269..0fe64296ab 100644
--- a/var/spack/repos/builtin/packages/rna-seqc/package.py
+++ b/var/spack/repos/builtin/packages/rna-seqc/package.py
@@ -21,7 +21,7 @@ class RnaSeqc(Package):
version('1.1.5', sha256='1da100182037f46c61f93a063083e3be579da2678b0441fbc3fc8b58120e52c9', expand=False)
version('1.1.4', sha256='eac437061157036dddf496be8e05fe62b011fb95d34e9079c93ee4001710f1c6', expand=False)
- depends_on('jdk@8:', type='run')
+ depends_on('java@8:', type='run')
def install(self, spec, prefix):
mkdirp(prefix.bin)
@@ -37,7 +37,7 @@ class RnaSeqc(Package):
# Munge the helper script to explicitly point to java and the
# jar file.
- java = self.spec['jdk'].prefix.bin.java
+ java = self.spec['java'].prefix.bin.java
kwargs = {'ignore_absent': False, 'backup': False, 'string': False}
filter_file('^java', java, script, **kwargs)
filter_file('RNA-SeQC_v{0}.jar', join_path(prefix.bin, jar_file),