From bd3ffc7b76f4eda034765d1eadf507614f0ec098 Mon Sep 17 00:00:00 2001 From: Todd Gamblin Date: Sun, 22 Jul 2018 17:54:15 -0700 Subject: core: use sha256 instead of md5 for `spack checksum` and `spack create` - This changes `get_checksums_for_versions` to generate code that uses an explicit `sha256` argument instead if the bare `md5` hash we used to generate. - also use a generic digest parameter for the `version` directive, rather than a specific `md5` parameter. --- .../repos/builtin.mock/packages/url-list-test/package.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'var') diff --git a/var/spack/repos/builtin.mock/packages/url-list-test/package.py b/var/spack/repos/builtin.mock/packages/url-list-test/package.py index fff04d7a9e..2adb06272a 100644 --- a/var/spack/repos/builtin.mock/packages/url-list-test/package.py +++ b/var/spack/repos/builtin.mock/packages/url-list-test/package.py @@ -37,13 +37,13 @@ class UrlListTest(Package): list_url = 'file://' + web_data_path + '/index.html' list_depth = 3 - version('0.0.0') - version('1.0.0') - version('3.0') - version('4.5') - version('2.0.0b2') - version('3.0a1') - version('4.5-rc5') + version('0.0.0', 'abc000') + version('1.0.0', 'abc100') + version('3.0', 'abc30') + version('4.5', 'abc45') + version('2.0.0b2', 'abc200b2') + version('3.0a1', 'abc30a1') + version('4.5-rc5', 'abc45rc5') def install(self, spec, prefix): pass -- cgit v1.2.3-70-g09d2