Remove url_for_version as it breaks spack info (#1503)
This commit is contained in:
committed by
Todd Gamblin
parent
7f9e89eb53
commit
db483e77e4
@@ -48,12 +48,6 @@ class Openssl(Package):
|
|||||||
depends_on("zlib")
|
depends_on("zlib")
|
||||||
parallel = False
|
parallel = False
|
||||||
|
|
||||||
def url_for_version(self, version):
|
|
||||||
if '@system' in self.spec:
|
|
||||||
return '@system (reserved version for system openssl)'
|
|
||||||
else:
|
|
||||||
return super(Openssl, self).url_for_version(self.version)
|
|
||||||
|
|
||||||
def handle_fetch_error(self, error):
|
def handle_fetch_error(self, error):
|
||||||
tty.warn("Fetching OpenSSL failed. This may indicate that OpenSSL has "
|
tty.warn("Fetching OpenSSL failed. This may indicate that OpenSSL has "
|
||||||
"been updated, and the version in your instance of Spack is "
|
"been updated, and the version in your instance of Spack is "
|
||||||
|
|||||||
Reference in New Issue
Block a user