summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Hartzell <hartzell@alerce.com>2017-01-04 11:43:10 -0800
committerTodd Gamblin <tgamblin@llnl.gov>2017-01-04 11:43:10 -0800
commit4e653254c5047828887263120d5c49a2d898a402 (patch)
tree13ef9785dddeaa7519ec258e261979dfe9862b01
parenteaa24b08fd032db60b11d3480ea4bbc13cd90f92 (diff)
downloadspack-4e653254c5047828887263120d5c49a2d898a402.tar.gz
spack-4e653254c5047828887263120d5c49a2d898a402.tar.bz2
spack-4e653254c5047828887263120d5c49a2d898a402.tar.xz
spack-4e653254c5047828887263120d5c49a2d898a402.zip
Use zlib's "fossil" site for old tarballs (#2735)
* Use zlib's "fossil" site for old tarballs Following citibeth's suggestion in #2732, use zlib's "fossil" site (not to be confused with the sqlite team's VCS...) for retrieving old tarballs. Digests for 1.2.{8,10} match and both install for me on CentOS 7. * Use zlib's "fossil" URL as the one true URL Everything seems to be available at zlib's "fossil" URL, so just use it as the one and only url. (and fix a flake8 complaint about a comment)
-rw-r--r--var/spack/repos/builtin/packages/zlib/package.py9
1 files changed, 5 insertions, 4 deletions
diff --git a/var/spack/repos/builtin/packages/zlib/package.py b/var/spack/repos/builtin/packages/zlib/package.py
index c8251ce7a8..a20f6ff802 100644
--- a/var/spack/repos/builtin/packages/zlib/package.py
+++ b/var/spack/repos/builtin/packages/zlib/package.py
@@ -31,12 +31,13 @@ class Zlib(AutotoolsPackage):
data-compression library."""
homepage = "http://zlib.net"
- url = "http://zlib.net/zlib-1.2.8.tar.gz"
+ url = "http://zlib.net/fossils/zlib-1.2.10.tar.gz"
version('1.2.10', 'd9794246f853d15ce0fcbf79b9a3cf13')
- version('1.2.8', '44d667c142d7cda120332623eab69f40',
- url='http://pkgs.fedoraproject.org/repo/pkgs/mingw-zlib/zlib-1.2.8.tar.gz/44d667c142d7cda120332623eab69f40/zlib-1.2.8.tar.gz'
- )
+ # author had this to say about 1.2.9....
+ # Due to the bug fixes, any installations of 1.2.9 should be immediately
+ # replaced with 1.2.10.
+ version('1.2.8', '44d667c142d7cda120332623eab69f40')
variant('pic', default=True,
description='Produce position-independent code (for shared libs)')