libXaw should not try to build into a pure wayland platform.
[platform/upstream/libXaw.git] / packaging / libXaw.spec
index 8659395..0fa41b8 100644 (file)
@@ -1,3 +1,5 @@
+%bcond_with x
+
 Name:           libXaw
 Version:        1.0.11
 Release:        1
@@ -16,6 +18,10 @@ BuildRequires:  pkgconfig(xpm)
 BuildRequires:  pkgconfig(xproto)
 BuildRequires:  pkgconfig(xt)
 
+%if !%{with x}
+ExclusiveArch:
+%endif
+
 %description
 Xaw is a widget set based on the X Toolkit Intrinsics (Xt) Library.