util-linux: fix bash completion install errors. (#18696)
* Disable bash completion by default. * flake8 * Adding explicit dependence on libuuid * Adding explicit dependence on cryptsetup This way we don't pick up host crypto packages by mistake. * Fixing the completion directory. * Update var/spack/repos/builtin/packages/util-linux/package.py Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com> * flake8 * Removing libuuid linkage according to @michaelkuhn on #18696 Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
This commit is contained in:
@@ -35,6 +35,7 @@ class Cryptsetup(AutotoolsPackage):
|
||||
depends_on('m4', type='build')
|
||||
|
||||
depends_on('automake@:1.16.1', when='@2.2.1', type='build')
|
||||
depends_on('openssl')
|
||||
|
||||
# Upstream includes support for discovering the location of the libintl
|
||||
# library but is missing the bit in the Makefile.ac that includes it in
|
||||
@@ -49,7 +50,8 @@ def url_for_version(self, version):
|
||||
|
||||
def configure_args(self):
|
||||
args = [
|
||||
'systemd_tmpfilesdir={0}/tmpfiles.d'.format(self.prefix)
|
||||
'systemd_tmpfilesdir={0}/tmpfiles.d'.format(self.prefix),
|
||||
'--with-crypto_backend=openssl',
|
||||
]
|
||||
return args
|
||||
|
||||
|
||||
Reference in New Issue
Block a user