diff options
author | Tomoyasu Nojiri <68096132+t-nojiri@users.noreply.github.com> | 2021-02-04 02:03:28 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-03 11:03:28 -0600 |
commit | 1a6fe5248642600eb370a464ffb8390df09761d5 (patch) | |
tree | e4704cf8c57b32e916cd69746b2eec1f1baff79d | |
parent | 4d194dc5e449d7b7f5a7dc31ccb034ea56d6f0a8 (diff) | |
download | spack-1a6fe5248642600eb370a464ffb8390df09761d5.tar.gz spack-1a6fe5248642600eb370a464ffb8390df09761d5.tar.bz2 spack-1a6fe5248642600eb370a464ffb8390df09761d5.tar.xz spack-1a6fe5248642600eb370a464ffb8390df09761d5.zip |
http-post: Fix checksum error (#21460)
-rw-r--r-- | var/spack/repos/builtin/packages/http-post/package.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/var/spack/repos/builtin/packages/http-post/package.py b/var/spack/repos/builtin/packages/http-post/package.py index 240e4c878e..8f03a1db96 100644 --- a/var/spack/repos/builtin/packages/http-post/package.py +++ b/var/spack/repos/builtin/packages/http-post/package.py @@ -12,15 +12,15 @@ class HttpPost(MakefilePackage): to stdout. It does not do gopher, ftp, file, news, or any other type of URL, only HTTP. It can be configured to do HTTPS POSTs as well.""" - homepage = "http://www.acme.com/software/http_post/" - url = "http://www.acme.com/software/http_post/http_post_18May2018.tar.gz" + homepage = "https://www.acme.com/software/http_post/" + url = "https://www.acme.com/software/http_post/http_post_18May2018.tar.gz" - version('2018-05-18', sha256='981c62bcc5cd12b8531f887b3e3779a63a7b7f370062575cded412865a20ea2c') + version('2018-05-18', sha256='6607faa91aea410efb9b86ae0b1b64541b55318831cf6bb3fdee5d68f8adab31') def url_for_version(self, version): ver = datetime.datetime.strptime(str(version), '%Y-%m-%d').date() verstr = datetime.datetime.strftime(ver, '%d%b%Y') - return "http://www.acme.com/software/http_post/http_post_{0}.tar.gz".format(verstr) + return "https://www.acme.com/software/http_post/http_post_{0}.tar.gz".format(verstr) def edit(self, spec, prefix): makefile = FileFilter("Makefile") |