cryptsetup: restrict the version of automake if @2.2.1 (#15918)

* cryptsetup: restrict the version of automake if @2.2.1

fixes #15706

* Update var/spack/repos/builtin/packages/cryptsetup/package.py

Co-Authored-By: Adam J. Stewart <ajstewart426@gmail.com>

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
This commit is contained in:
Massimiliano Culpo 2020-04-07 18:56:54 +02:00 committed by GitHub
parent 375e1c62c7
commit 2dece3aee8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -34,6 +34,8 @@ class Cryptsetup(AutotoolsPackage):
depends_on('libtool', type='build')
depends_on('m4', type='build')
depends_on('automake@:1.16.1', when='@2.2.1', type='build')
# Upstream includes support for discovering the location of the libintl
# library but is missing the bit in the Makefile.ac that includes it in
# the LDFLAGS. See https://gitlab.com/cryptsetup/cryptsetup/issues/479