Package rna-seqc: Change jdk dependency to java (#30049)

Co-authored-by: David Kuehn <las_dkuehn@iastate.edu>
This commit is contained in:
dlkuehn 2022-04-14 12:02:06 -05:00 committed by GitHub
parent dec3e31e60
commit b09fb467f1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 @@ def install(self, spec, prefix):
# 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),