From cff6255e56c13d087c896d571d8241db8170d118 Mon Sep 17 00:00:00 2001 From: George Hartzell Date: Thu, 31 May 2018 18:28:08 -0700 Subject: [PATCH] Use GitHub URL for pigz, supports > 1 release (#8339) The URL that we were using for pigz only provides the current version. When the author released v2.4 the package became uninstallable (unless you have the tarball cached). It turns out that their are tarballs of the tagged source tree available on GitHub and they're sufficient to build things (no additional bits needed). This commit switches the URL to the GitHub archive URL. Sadly, this changes the v2.3.4 digest, but that version was no longer available/install-able anyway, so "net-net we're still in positive territory". --- var/spack/repos/builtin/packages/pigz/package.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/var/spack/repos/builtin/packages/pigz/package.py b/var/spack/repos/builtin/packages/pigz/package.py index dc38cd444c..993ae37dd2 100644 --- a/var/spack/repos/builtin/packages/pigz/package.py +++ b/var/spack/repos/builtin/packages/pigz/package.py @@ -30,9 +30,10 @@ class Pigz(MakefilePackage): multi-core machines.""" homepage = "http://zlib.net/pigz/" - url = "http://zlib.net/pigz/pigz-2.3.4.tar.gz" + url = "https://github.com/madler/pigz/archive/v2.3.4.tar.gz" - version('2.3.4', '08e6b2e682bbf65ccf12c8966d633fc6') + version('2.4', '3c8a601db141d3013ef9fe5f2daaf73f') + version('2.3.4', 'c109057050b15edf3eb9bb4d0805235e') depends_on('zlib')