libXi should not try to build into a pure wayland platform.
[platform/upstream/libXi.git] / packaging / libXi.spec
index a0b4003..0d6754a 100644 (file)
@@ -1,3 +1,5 @@
+%bcond_with x
+
 Name:           libXi
 Version:        1.6.1
 Release:        1
@@ -20,6 +22,10 @@ BuildRequires:  pkgconfig(xproto)
 
 Requires:       libX11 >= 1.4.99.1
 
+%if !%{with x}
+ExclusiveArch:
+%endif
+
 %description
 X.Org X11 libXi runtime library