From 4e653254c5047828887263120d5c49a2d898a402 Mon Sep 17 00:00:00 2001 From: George Hartzell Date: Wed, 4 Jan 2017 11:43:10 -0800 Subject: 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) --- var/spack/repos/builtin/packages/zlib/package.py | 9 +++++---- 1 file 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)') -- cgit v1.2.3-70-g09d2