summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorTodd Gamblin <tgamblin@llnl.gov>2018-07-22 17:54:15 -0700
committerTodd Gamblin <tgamblin@llnl.gov>2018-07-23 11:57:52 -0700
commitbd3ffc7b76f4eda034765d1eadf507614f0ec098 (patch)
tree24bfb2150f9eb6236f36c7acfea26139a8d0b2ed /var
parent305c95b69fec32cbde60d59e9a538be49c857a83 (diff)
downloadspack-bd3ffc7b76f4eda034765d1eadf507614f0ec098.tar.gz
spack-bd3ffc7b76f4eda034765d1eadf507614f0ec098.tar.bz2
spack-bd3ffc7b76f4eda034765d1eadf507614f0ec098.tar.xz
spack-bd3ffc7b76f4eda034765d1eadf507614f0ec098.zip
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.
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin.mock/packages/url-list-test/package.py14
1 files changed, 7 insertions, 7 deletions
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