summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDylan Simon <dylan@dylex.net>2022-01-05 12:59:33 -0500
committerGitHub <noreply@github.com>2022-01-05 10:59:33 -0700
commitf34598214b878703a9312a6de43083d3f8036102 (patch)
treea7d97f30b46d4e10a52a559b2e1cc16944bfc5b0
parentf064c5ee4f9a2efac47e0b5f5d7b5ddf3e8657f4 (diff)
downloadspack-f34598214b878703a9312a6de43083d3f8036102.tar.gz
spack-f34598214b878703a9312a6de43083d3f8036102.tar.bz2
spack-f34598214b878703a9312a6de43083d3f8036102.tar.xz
spack-f34598214b878703a9312a6de43083d3f8036102.zip
py-pyzmq: fix deptype of libzmq (#28254)
-rw-r--r--var/spack/repos/builtin/packages/py-pyzmq/package.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/py-pyzmq/package.py b/var/spack/repos/builtin/packages/py-pyzmq/package.py
index 74d894cd8a..44f66bc81d 100644
--- a/var/spack/repos/builtin/packages/py-pyzmq/package.py
+++ b/var/spack/repos/builtin/packages/py-pyzmq/package.py
@@ -34,8 +34,8 @@ class PyPyzmq(PythonPackage):
depends_on('py-cython@0.20:', type='build', when='@18:')
depends_on('py-cython@0.29:', type='build', when='@22.3.0:')
depends_on('py-gevent', type=('build', 'run'))
- depends_on('libzmq', type=('build', 'run'))
- depends_on('libzmq@3.2:', type=('build', 'run'), when='@22.3.0:')
+ depends_on('libzmq', type=('build', 'link'))
+ depends_on('libzmq@3.2:', type=('build', 'link'), when='@22.3.0:')
depends_on('py-setuptools', type='build', when='@22.3.0:')
# Only when python is provided by 'pypy'
depends_on('py-py', type=('build', 'run'), when='@:22')