From c30c5df340284508b31ac45977e7d825d6dd9b23 Mon Sep 17 00:00:00 2001 From: Andrew W Elble Date: Wed, 31 Jul 2024 10:48:21 -0400 Subject: [PATCH] libxcb: xcb-proto is a build dependency (#45523) --- var/spack/repos/builtin/packages/libxcb/package.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/var/spack/repos/builtin/packages/libxcb/package.py b/var/spack/repos/builtin/packages/libxcb/package.py index bc22cc20289..fefdebd20ca 100644 --- a/var/spack/repos/builtin/packages/libxcb/package.py +++ b/var/spack/repos/builtin/packages/libxcb/package.py @@ -38,12 +38,12 @@ class Libxcb(AutotoolsPackage, XorgPackage): depends_on("libxdmcp") # libxcb 1.X requires xcb-proto >= 1.X - depends_on("xcb-proto") - depends_on("xcb-proto@1.17:", when="@1.17") - depends_on("xcb-proto@1.16:", when="@1.16") - depends_on("xcb-proto@1.15:", when="@1.15") - depends_on("xcb-proto@1.14:", when="@1.14") - depends_on("xcb-proto@1.13:", when="@1.13") + depends_on("xcb-proto", type="build") + depends_on("xcb-proto@1.17:", when="@1.17", type="build") + depends_on("xcb-proto@1.16:", when="@1.16", type="build") + depends_on("xcb-proto@1.15:", when="@1.15", type="build") + depends_on("xcb-proto@1.14:", when="@1.14", type="build") + depends_on("xcb-proto@1.13:", when="@1.13", type="build") depends_on("python", type="build") depends_on("pkgconfig", type="build")