summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam J. Stewart <ajstewart426@gmail.com>2019-10-10 12:48:16 -0500
committerGitHub <noreply@github.com>2019-10-10 12:48:16 -0500
commit06dffaefed3d83d83031ef4e3708d0e80f5097d2 (patch)
tree8d94379069fc14a16cc94f4527c39475c3ccdd2c
parent02564ef4ab0ecced2a820990143fd831a4fe2881 (diff)
downloadspack-06dffaefed3d83d83031ef4e3708d0e80f5097d2.tar.gz
spack-06dffaefed3d83d83031ef4e3708d0e80f5097d2.tar.bz2
spack-06dffaefed3d83d83031ef4e3708d0e80f5097d2.tar.xz
spack-06dffaefed3d83d83031ef4e3708d0e80f5097d2.zip
Add tar 1.32 (#13099)
-rw-r--r--var/spack/repos/builtin/packages/tar/package.py14
1 files changed, 11 insertions, 3 deletions
diff --git a/var/spack/repos/builtin/packages/tar/package.py b/var/spack/repos/builtin/packages/tar/package.py
index f69f4daae2..6c00cdd689 100644
--- a/var/spack/repos/builtin/packages/tar/package.py
+++ b/var/spack/repos/builtin/packages/tar/package.py
@@ -11,15 +11,23 @@ class Tar(AutotoolsPackage):
other kinds of manipulation."""
homepage = "https://www.gnu.org/software/tar/"
- url = "https://ftpmirror.gnu.org/tar/tar-1.29.tar.gz"
+ url = "https://ftpmirror.gnu.org/tar/tar-1.32.tar.gz"
- version('1.31', 'b471be6cb68fd13c4878297d856aebd50551646f4e3074906b1a74549c40d5a2')
+ version('1.32', sha256='b59549594d91d84ee00c99cf2541a3330fed3a42c440503326dab767f2fbb96c')
+ version('1.31', sha256='b471be6cb68fd13c4878297d856aebd50551646f4e3074906b1a74549c40d5a2')
version('1.30', 'e0c5ed59e4dd33d765d6c90caadd3c73')
- version('1.29', 'cae466e6e58c7292355e7080248f244db3a4cf755f33f4fa25ca7f9a7ed09af0')
+ version('1.29', sha256='cae466e6e58c7292355e7080248f244db3a4cf755f33f4fa25ca7f9a7ed09af0')
version('1.28', '6ea3dbea1f2b0409b234048e021a9fd7')
+ depends_on('libiconv')
+
patch('tar-pgi.patch', when='@1.29')
patch('config-pgi.patch', when='@:1.29')
patch('se-selinux.patch', when='@:1.29')
patch('argp-pgi.patch', when='@:1.29')
patch('gnutar-configure-xattrs.patch', when='@1.28')
+
+ def configure_args(self):
+ return [
+ '--with-libiconv-prefix={0}'.format(self.spec['libiconv'].prefix),
+ ]